Lines Matching refs:sn
895 vfp_single_multiply_accumulate(int sd, int sn, s32 m, u32 fpscr, u32 negate, char *func) in vfp_single_multiply_accumulate() argument
901 v = vfp_get_float(sn); in vfp_single_multiply_accumulate()
902 pr_debug("VFP: s%u = %08x\n", sn, v); in vfp_single_multiply_accumulate()
935 static u32 vfp_single_fmac(int sd, int sn, s32 m, u32 fpscr) in vfp_single_fmac() argument
937 return vfp_single_multiply_accumulate(sd, sn, m, fpscr, 0, "fmac"); in vfp_single_fmac()
943 static u32 vfp_single_fnmac(int sd, int sn, s32 m, u32 fpscr) in vfp_single_fnmac() argument
945 return vfp_single_multiply_accumulate(sd, sn, m, fpscr, NEG_MULTIPLY, "fnmac"); in vfp_single_fnmac()
951 static u32 vfp_single_fmsc(int sd, int sn, s32 m, u32 fpscr) in vfp_single_fmsc() argument
953 return vfp_single_multiply_accumulate(sd, sn, m, fpscr, NEG_SUBTRACT, "fmsc"); in vfp_single_fmsc()
959 static u32 vfp_single_fnmsc(int sd, int sn, s32 m, u32 fpscr) in vfp_single_fnmsc() argument
961 return vfp_single_multiply_accumulate(sd, sn, m, fpscr, NEG_SUBTRACT | NEG_MULTIPLY, "fnmsc"); in vfp_single_fnmsc()
967 static u32 vfp_single_fmul(int sd, int sn, s32 m, u32 fpscr) in vfp_single_fmul() argument
971 s32 n = vfp_get_float(sn); in vfp_single_fmul()
973 pr_debug("VFP: s%u = %08x\n", sn, n); in vfp_single_fmul()
990 static u32 vfp_single_fnmul(int sd, int sn, s32 m, u32 fpscr) in vfp_single_fnmul() argument
994 s32 n = vfp_get_float(sn); in vfp_single_fnmul()
996 pr_debug("VFP: s%u = %08x\n", sn, n); in vfp_single_fnmul()
1014 static u32 vfp_single_fadd(int sd, int sn, s32 m, u32 fpscr) in vfp_single_fadd() argument
1018 s32 n = vfp_get_float(sn); in vfp_single_fadd()
1020 pr_debug("VFP: s%u = %08x\n", sn, n); in vfp_single_fadd()
1041 static u32 vfp_single_fsub(int sd, int sn, s32 m, u32 fpscr) in vfp_single_fsub() argument
1046 return vfp_single_fadd(sd, sn, vfp_single_packed_negate(m), fpscr); in vfp_single_fsub()
1052 static u32 vfp_single_fdiv(int sd, int sn, s32 m, u32 fpscr) in vfp_single_fdiv() argument
1056 s32 n = vfp_get_float(sn); in vfp_single_fdiv()
1059 pr_debug("VFP: s%u = %08x\n", sn, n); in vfp_single_fdiv()
1177 unsigned int sn = vfp_get_sn(inst); in vfp_single_cpdo() local
1220 vecitr >> FPSCR_LENGTH_BIT, type, dest, sn, in vfp_single_cpdo()
1224 vecitr >> FPSCR_LENGTH_BIT, type, dest, sn, in vfp_single_cpdo()
1227 except = fop->fn(dest, sn, m, fpscr); in vfp_single_cpdo()
1238 sn = FREG_BANK(sn) + ((FREG_IDX(sn) + vecstride) & 7); in vfp_single_cpdo()