Lines Matching refs:fregs
26 #define FPUL (fregs->fpul)
27 #define FPSCR (fregs->fpscr)
36 #define FR ((unsigned long*)(fregs->fp_regs))
40 #define DR ((unsigned long long*)(fregs->fp_regs))
79 fcmp_gt(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fcmp_gt() argument
90 fcmp_eq(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fcmp_eq() argument
106 fadd(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fadd() argument
113 fsub(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fsub() argument
120 fmul(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fmul() argument
127 fdiv(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fdiv() argument
134 fmac(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fmac() argument
155 fmov_idx_reg(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, in fmov_idx_reg() argument
171 fmov_mem_reg(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, in fmov_mem_reg() argument
187 fmov_inc_reg(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, in fmov_inc_reg() argument
205 fmov_reg_idx(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, in fmov_reg_idx() argument
221 fmov_reg_mem(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, in fmov_reg_mem() argument
237 fmov_reg_dec(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, in fmov_reg_dec() argument
255 fmov_reg_reg(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, in fmov_reg_reg() argument
270 fnop_mn(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fnop_mn() argument
276 #define NOTYETn(i) static int i(struct sh_fpu_soft_struct *fregs, int n) \
289 static int ffloat(struct sh_fpu_soft_struct *fregs, int n)
305 static int ftrc(struct sh_fpu_soft_struct *fregs, int n) in ftrc() argument
317 static int fcnvsd(struct sh_fpu_soft_struct *fregs, int n) in fcnvsd() argument
328 static int fcnvds(struct sh_fpu_soft_struct *fregs, int n) in fcnvds() argument
339 static int fxchg(struct sh_fpu_soft_struct *fregs, int flag) in fxchg() argument
345 static int fsts(struct sh_fpu_soft_struct *fregs, int n) in fsts() argument
351 static int flds(struct sh_fpu_soft_struct *fregs, int n) in flds() argument
357 static int fneg(struct sh_fpu_soft_struct *fregs, int n) in fneg() argument
363 static int fabs(struct sh_fpu_soft_struct *fregs, int n) in fabs() argument
369 static int fld0(struct sh_fpu_soft_struct *fregs, int n) in fld0() argument
375 static int fld1(struct sh_fpu_soft_struct *fregs, int n) in fld1() argument
381 static int fnop_n(struct sh_fpu_soft_struct *fregs, int n) in fnop_n() argument
401 static int id_fxfd(struct sh_fpu_soft_struct *fregs, int x) in id_fxfd() argument
406 fxchg(fregs, flag[x >> 2]); in id_fxfd()
409 ftrv(fregs, x - 1); in id_fxfd()
412 fsca(fregs, x); in id_fxfd()
418 id_fnxd(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int x, int n) in id_fnxd() argument
420 return (fnxd[x])(fregs, n); in id_fnxd()
424 id_fnmx(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, u16 code) in id_fnmx() argument
427 return (fnmx[x])(fregs, regs, m, n); in id_fnmx()
431 id_sys(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, u16 code) in id_sys() argument
462 static int fpu_emulate(u16 code, struct sh_fpu_soft_struct *fregs, struct pt_regs *regs) in fpu_emulate() argument
465 return id_fnmx(fregs, regs, code); in fpu_emulate()
467 return id_sys(fregs, regs, code); in fpu_emulate()