Lines Matching refs:fregs

28 #define	FPUL		(fregs->fpul)
29 #define FPSCR (fregs->fpscr)
38 #define FR ((unsigned long*)(fregs->fp_regs))
42 #define DR ((unsigned long long*)(fregs->fp_regs))
81 fcmp_gt(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fcmp_gt() argument
92 fcmp_eq(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fcmp_eq() argument
108 fadd(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fadd() argument
115 fsub(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fsub() argument
122 fmul(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fmul() argument
129 fdiv(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fdiv() argument
136 fmac(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fmac() argument
157 fmov_idx_reg(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, in fmov_idx_reg() argument
173 fmov_mem_reg(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, in fmov_mem_reg() argument
189 fmov_inc_reg(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, in fmov_inc_reg() argument
207 fmov_reg_idx(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, in fmov_reg_idx() argument
223 fmov_reg_mem(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, in fmov_reg_mem() argument
239 fmov_reg_dec(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, in fmov_reg_dec() argument
257 fmov_reg_reg(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, in fmov_reg_reg() argument
272 fnop_mn(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) in fnop_mn() argument
278 #define NOTYETn(i) static int i(struct sh_fpu_soft_struct *fregs, int n) \
291 static int ffloat(struct sh_fpu_soft_struct *fregs, int n)
307 static int ftrc(struct sh_fpu_soft_struct *fregs, int n) in ftrc() argument
319 static int fcnvsd(struct sh_fpu_soft_struct *fregs, int n) in fcnvsd() argument
330 static int fcnvds(struct sh_fpu_soft_struct *fregs, int n) in fcnvds() argument
341 static int fxchg(struct sh_fpu_soft_struct *fregs, int flag) in fxchg() argument
347 static int fsts(struct sh_fpu_soft_struct *fregs, int n) in fsts() argument
353 static int flds(struct sh_fpu_soft_struct *fregs, int n) in flds() argument
359 static int fneg(struct sh_fpu_soft_struct *fregs, int n) in fneg() argument
365 static int fabs(struct sh_fpu_soft_struct *fregs, int n) in fabs() argument
371 static int fld0(struct sh_fpu_soft_struct *fregs, int n) in fld0() argument
377 static int fld1(struct sh_fpu_soft_struct *fregs, int n) in fld1() argument
383 static int fnop_n(struct sh_fpu_soft_struct *fregs, int n) in fnop_n() argument
403 static int id_fxfd(struct sh_fpu_soft_struct *fregs, int x) in id_fxfd() argument
408 fxchg(fregs, flag[x >> 2]); in id_fxfd()
411 ftrv(fregs, x - 1); in id_fxfd()
414 fsca(fregs, x); in id_fxfd()
420 id_fnxd(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int x, int n) in id_fnxd() argument
422 return (fnxd[x])(fregs, n); in id_fnxd()
426 id_fnmx(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, u16 code) in id_fnmx() argument
429 return (fnmx[x])(fregs, regs, m, n); in id_fnmx()
433 id_sys(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, u16 code) in id_sys() argument
464 static int fpu_emulate(u16 code, struct sh_fpu_soft_struct *fregs, struct pt_regs *regs) in fpu_emulate() argument
467 return id_fnmx(fregs, regs, code); in fpu_emulate()
469 return id_sys(fregs, regs, code); in fpu_emulate()