Lines Matching refs:fst0

241 uint32_t helper_float_sqrt_s(CPUMIPSState *env, uint32_t fst0)  in helper_float_sqrt_s()  argument
243 fst0 = float32_sqrt(fst0, &env->active_fpu.fp_status); in helper_float_sqrt_s()
245 return fst0; in helper_float_sqrt_s()
248 uint64_t helper_float_cvtd_s(CPUMIPSState *env, uint32_t fst0) in helper_float_cvtd_s() argument
252 fdt2 = float32_to_float64(fst0, &env->active_fpu.fp_status); in helper_float_cvtd_s()
288 uint64_t helper_float_cvt_l_s(CPUMIPSState *env, uint32_t fst0) in helper_float_cvt_l_s() argument
292 dt2 = float32_to_int64(fst0, &env->active_fpu.fp_status); in helper_float_cvt_l_s()
382 uint32_t helper_float_cvt_w_s(CPUMIPSState *env, uint32_t fst0) in helper_float_cvt_w_s() argument
386 wt2 = float32_to_int32(fst0, &env->active_fpu.fp_status); in helper_float_cvt_w_s()
424 uint64_t helper_float_round_l_s(CPUMIPSState *env, uint32_t fst0) in helper_float_round_l_s() argument
430 dt2 = float32_to_int64(fst0, &env->active_fpu.fp_status); in helper_float_round_l_s()
456 uint32_t helper_float_round_w_s(CPUMIPSState *env, uint32_t fst0) in helper_float_round_w_s() argument
462 wt2 = float32_to_int32(fst0, &env->active_fpu.fp_status); in helper_float_round_w_s()
486 uint64_t helper_float_trunc_l_s(CPUMIPSState *env, uint32_t fst0) in helper_float_trunc_l_s() argument
490 dt2 = float32_to_int64_round_to_zero(fst0, &env->active_fpu.fp_status); in helper_float_trunc_l_s()
512 uint32_t helper_float_trunc_w_s(CPUMIPSState *env, uint32_t fst0) in helper_float_trunc_w_s() argument
516 wt2 = float32_to_int32_round_to_zero(fst0, &env->active_fpu.fp_status); in helper_float_trunc_w_s()
540 uint64_t helper_float_ceil_l_s(CPUMIPSState *env, uint32_t fst0) in helper_float_ceil_l_s() argument
545 dt2 = float32_to_int64(fst0, &env->active_fpu.fp_status); in helper_float_ceil_l_s()
570 uint32_t helper_float_ceil_w_s(CPUMIPSState *env, uint32_t fst0) in helper_float_ceil_w_s() argument
575 wt2 = float32_to_int32(fst0, &env->active_fpu.fp_status); in helper_float_ceil_w_s()
600 uint64_t helper_float_floor_l_s(CPUMIPSState *env, uint32_t fst0) in helper_float_floor_l_s() argument
605 dt2 = float32_to_int64(fst0, &env->active_fpu.fp_status); in helper_float_floor_l_s()
630 uint32_t helper_float_floor_w_s(CPUMIPSState *env, uint32_t fst0) in helper_float_floor_w_s() argument
635 wt2 = float32_to_int32(fst0, &env->active_fpu.fp_status); in helper_float_floor_w_s()
660 uint64_t helper_float_cvt_2008_l_s(CPUMIPSState *env, uint32_t fst0) in helper_float_cvt_2008_l_s() argument
664 dt2 = float32_to_int64(fst0, &env->active_fpu.fp_status); in helper_float_cvt_2008_l_s()
667 if (float32_is_any_nan(fst0)) { in helper_float_cvt_2008_l_s()
690 uint32_t helper_float_cvt_2008_w_s(CPUMIPSState *env, uint32_t fst0) in helper_float_cvt_2008_w_s() argument
694 wt2 = float32_to_int32(fst0, &env->active_fpu.fp_status); in helper_float_cvt_2008_w_s()
697 if (float32_is_any_nan(fst0)) { in helper_float_cvt_2008_w_s()
723 uint64_t helper_float_round_2008_l_s(CPUMIPSState *env, uint32_t fst0) in helper_float_round_2008_l_s() argument
729 dt2 = float32_to_int64(fst0, &env->active_fpu.fp_status); in helper_float_round_2008_l_s()
733 if (float32_is_any_nan(fst0)) { in helper_float_round_2008_l_s()
759 uint32_t helper_float_round_2008_w_s(CPUMIPSState *env, uint32_t fst0) in helper_float_round_2008_w_s() argument
765 wt2 = float32_to_int32(fst0, &env->active_fpu.fp_status); in helper_float_round_2008_w_s()
769 if (float32_is_any_nan(fst0)) { in helper_float_round_2008_w_s()
792 uint64_t helper_float_trunc_2008_l_s(CPUMIPSState *env, uint32_t fst0) in helper_float_trunc_2008_l_s() argument
796 dt2 = float32_to_int64_round_to_zero(fst0, &env->active_fpu.fp_status); in helper_float_trunc_2008_l_s()
799 if (float32_is_any_nan(fst0)) { in helper_float_trunc_2008_l_s()
822 uint32_t helper_float_trunc_2008_w_s(CPUMIPSState *env, uint32_t fst0) in helper_float_trunc_2008_w_s() argument
826 wt2 = float32_to_int32_round_to_zero(fst0, &env->active_fpu.fp_status); in helper_float_trunc_2008_w_s()
829 if (float32_is_any_nan(fst0)) { in helper_float_trunc_2008_w_s()
854 uint64_t helper_float_ceil_2008_l_s(CPUMIPSState *env, uint32_t fst0) in helper_float_ceil_2008_l_s() argument
859 dt2 = float32_to_int64(fst0, &env->active_fpu.fp_status); in helper_float_ceil_2008_l_s()
863 if (float32_is_any_nan(fst0)) { in helper_float_ceil_2008_l_s()
888 uint32_t helper_float_ceil_2008_w_s(CPUMIPSState *env, uint32_t fst0) in helper_float_ceil_2008_w_s() argument
893 wt2 = float32_to_int32(fst0, &env->active_fpu.fp_status); in helper_float_ceil_2008_w_s()
897 if (float32_is_any_nan(fst0)) { in helper_float_ceil_2008_w_s()
922 uint64_t helper_float_floor_2008_l_s(CPUMIPSState *env, uint32_t fst0) in helper_float_floor_2008_l_s() argument
927 dt2 = float32_to_int64(fst0, &env->active_fpu.fp_status); in helper_float_floor_2008_l_s()
931 if (float32_is_any_nan(fst0)) { in helper_float_floor_2008_l_s()
956 uint32_t helper_float_floor_2008_w_s(CPUMIPSState *env, uint32_t fst0) in helper_float_floor_2008_w_s() argument
961 wt2 = float32_to_int32(fst0, &env->active_fpu.fp_status); in helper_float_floor_2008_w_s()
965 if (float32_is_any_nan(fst0)) { in helper_float_floor_2008_w_s()
980 uint32_t helper_float_abs_s(uint32_t fst0) in helper_float_abs_s() argument
982 return float32_abs(fst0); in helper_float_abs_s()
1000 uint32_t helper_float_chs_s(uint32_t fst0) in helper_float_chs_s() argument
1002 return float32_chs(fst0); in helper_float_chs_s()
1025 uint32_t helper_float_recip_s(CPUMIPSState *env, uint32_t fst0) in helper_float_recip_s() argument
1029 fst2 = float32_div(float32_one, fst0, &env->active_fpu.fp_status); in helper_float_recip_s()
1044 uint32_t helper_float_rsqrt_s(CPUMIPSState *env, uint32_t fst0) in helper_float_rsqrt_s() argument
1048 fst2 = float32_sqrt(fst0, &env->active_fpu.fp_status); in helper_float_rsqrt_s()
1063 uint32_t helper_float_recip1_s(CPUMIPSState *env, uint32_t fst0) in helper_float_recip1_s() argument
1067 fst2 = float32_div(float32_one, fst0, &env->active_fpu.fp_status); in helper_float_recip1_s()
1094 uint32_t helper_float_rsqrt1_s(CPUMIPSState *env, uint32_t fst0) in helper_float_rsqrt1_s() argument
1098 fst2 = float32_sqrt(fst0, &env->active_fpu.fp_status); in helper_float_rsqrt1_s()
1227 uint32_t fst0, uint32_t fst1) in helper_float_add_s() argument
1231 wt2 = float32_add(fst0, fst1, &env->active_fpu.fp_status); in helper_float_add_s()
1263 uint32_t fst0, uint32_t fst1) in helper_float_sub_s() argument
1267 wt2 = float32_sub(fst0, fst1, &env->active_fpu.fp_status); in helper_float_sub_s()
1299 uint32_t fst0, uint32_t fst1) in helper_float_mul_s() argument
1303 wt2 = float32_mul(fst0, fst1, &env->active_fpu.fp_status); in helper_float_mul_s()
1335 uint32_t fst0, uint32_t fst1) in helper_float_div_s() argument
1339 wt2 = float32_div(fst0, fst1, &env->active_fpu.fp_status); in helper_float_div_s()
1371 uint32_t helper_float_recip2_s(CPUMIPSState *env, uint32_t fst0, uint32_t fst2) in helper_float_recip2_s() argument
1373 fst2 = float32_mul(fst0, fst2, &env->active_fpu.fp_status); in helper_float_recip2_s()
1407 uint32_t helper_float_rsqrt2_s(CPUMIPSState *env, uint32_t fst0, uint32_t fst2) in helper_float_rsqrt2_s() argument
1409 fst2 = float32_mul(fst0, fst2, &env->active_fpu.fp_status); in helper_float_rsqrt2_s()
1550 uint64_t helper_float_madd_d(CPUMIPSState *env, uint64_t fst0, in helper_float_madd_d() argument
1553 fst0 = float64_mul(fst0, fst1, &env->active_fpu.fp_status); in helper_float_madd_d()
1554 fst0 = float64_add(fst0, fst2, &env->active_fpu.fp_status); in helper_float_madd_d()
1557 return fst0; in helper_float_madd_d()
1560 uint32_t helper_float_madd_s(CPUMIPSState *env, uint32_t fst0, in helper_float_madd_s() argument
1563 fst0 = float32_mul(fst0, fst1, &env->active_fpu.fp_status); in helper_float_madd_s()
1564 fst0 = float32_add(fst0, fst2, &env->active_fpu.fp_status); in helper_float_madd_s()
1567 return fst0; in helper_float_madd_s()
1589 uint64_t helper_float_msub_d(CPUMIPSState *env, uint64_t fst0, in helper_float_msub_d() argument
1592 fst0 = float64_mul(fst0, fst1, &env->active_fpu.fp_status); in helper_float_msub_d()
1593 fst0 = float64_sub(fst0, fst2, &env->active_fpu.fp_status); in helper_float_msub_d()
1596 return fst0; in helper_float_msub_d()
1599 uint32_t helper_float_msub_s(CPUMIPSState *env, uint32_t fst0, in helper_float_msub_s() argument
1602 fst0 = float32_mul(fst0, fst1, &env->active_fpu.fp_status); in helper_float_msub_s()
1603 fst0 = float32_sub(fst0, fst2, &env->active_fpu.fp_status); in helper_float_msub_s()
1606 return fst0; in helper_float_msub_s()
1628 uint64_t helper_float_nmadd_d(CPUMIPSState *env, uint64_t fst0, in helper_float_nmadd_d() argument
1631 fst0 = float64_mul(fst0, fst1, &env->active_fpu.fp_status); in helper_float_nmadd_d()
1632 fst0 = float64_add(fst0, fst2, &env->active_fpu.fp_status); in helper_float_nmadd_d()
1633 fst0 = float64_chs(fst0); in helper_float_nmadd_d()
1636 return fst0; in helper_float_nmadd_d()
1639 uint32_t helper_float_nmadd_s(CPUMIPSState *env, uint32_t fst0, in helper_float_nmadd_s() argument
1642 fst0 = float32_mul(fst0, fst1, &env->active_fpu.fp_status); in helper_float_nmadd_s()
1643 fst0 = float32_add(fst0, fst2, &env->active_fpu.fp_status); in helper_float_nmadd_s()
1644 fst0 = float32_chs(fst0); in helper_float_nmadd_s()
1647 return fst0; in helper_float_nmadd_s()
1671 uint64_t helper_float_nmsub_d(CPUMIPSState *env, uint64_t fst0, in helper_float_nmsub_d() argument
1674 fst0 = float64_mul(fst0, fst1, &env->active_fpu.fp_status); in helper_float_nmsub_d()
1675 fst0 = float64_sub(fst0, fst2, &env->active_fpu.fp_status); in helper_float_nmsub_d()
1676 fst0 = float64_chs(fst0); in helper_float_nmsub_d()
1679 return fst0; in helper_float_nmsub_d()
1682 uint32_t helper_float_nmsub_s(CPUMIPSState *env, uint32_t fst0, in helper_float_nmsub_s() argument
1685 fst0 = float32_mul(fst0, fst1, &env->active_fpu.fp_status); in helper_float_nmsub_s()
1686 fst0 = float32_sub(fst0, fst2, &env->active_fpu.fp_status); in helper_float_nmsub_s()
1687 fst0 = float32_chs(fst0); in helper_float_nmsub_s()
1690 return fst0; in helper_float_nmsub_s()
1845 void helper_cmp_s_ ## op(CPUMIPSState *env, uint32_t fst0, \
1856 void helper_cmpabs_s_ ## op(CPUMIPSState *env, uint32_t fst0, \
1860 fst0 = float32_abs(fst0); \
1874 FOP_COND_S(f, (float32_unordered_quiet(fst1, fst0,
1876 FOP_COND_S(un, float32_unordered_quiet(fst1, fst0,
1878 FOP_COND_S(eq, float32_eq_quiet(fst0, fst1,
1880 FOP_COND_S(ueq, float32_unordered_quiet(fst1, fst0,
1882 || float32_eq_quiet(fst0, fst1,
1884 FOP_COND_S(olt, float32_lt_quiet(fst0, fst1,
1886 FOP_COND_S(ult, float32_unordered_quiet(fst1, fst0,
1888 || float32_lt_quiet(fst0, fst1,
1890 FOP_COND_S(ole, float32_le_quiet(fst0, fst1,
1892 FOP_COND_S(ule, float32_unordered_quiet(fst1, fst0,
1894 || float32_le_quiet(fst0, fst1,
1900 FOP_COND_S(sf, (float32_unordered(fst1, fst0,
1902 FOP_COND_S(ngle, float32_unordered(fst1, fst0,
1904 FOP_COND_S(seq, float32_eq(fst0, fst1,
1906 FOP_COND_S(ngl, float32_unordered(fst1, fst0,
1908 || float32_eq(fst0, fst1,
1910 FOP_COND_S(lt, float32_lt(fst0, fst1,
1912 FOP_COND_S(nge, float32_unordered(fst1, fst0,
1914 || float32_lt(fst0, fst1,
1916 FOP_COND_S(le, float32_le(fst0, fst1,
1918 FOP_COND_S(ngt, float32_unordered(fst1, fst0,
1920 || float32_le(fst0, fst1,
1927 uint32_t fst0, fsth0, fst1, fsth1; \
1929 fst0 = fdt0 & 0XFFFFFFFF; \
1948 uint32_t fst0, fsth0, fst1, fsth1; \
1950 fst0 = float32_abs(fdt0 & 0XFFFFFFFF); \
1971 FOP_COND_PS(f, (float32_unordered_quiet(fst1, fst0,
1975 FOP_COND_PS(un, float32_unordered_quiet(fst1, fst0,
1979 FOP_COND_PS(eq, float32_eq_quiet(fst0, fst1,
1983 FOP_COND_PS(ueq, float32_unordered_quiet(fst1, fst0,
1985 || float32_eq_quiet(fst0, fst1,
1991 FOP_COND_PS(olt, float32_lt_quiet(fst0, fst1,
1995 FOP_COND_PS(ult, float32_unordered_quiet(fst1, fst0,
1997 || float32_lt_quiet(fst0, fst1,
2003 FOP_COND_PS(ole, float32_le_quiet(fst0, fst1,
2007 FOP_COND_PS(ule, float32_unordered_quiet(fst1, fst0,
2009 || float32_le_quiet(fst0, fst1,
2019 FOP_COND_PS(sf, (float32_unordered(fst1, fst0,
2023 FOP_COND_PS(ngle, float32_unordered(fst1, fst0,
2027 FOP_COND_PS(seq, float32_eq(fst0, fst1,
2031 FOP_COND_PS(ngl, float32_unordered(fst1, fst0,
2033 || float32_eq(fst0, fst1,
2039 FOP_COND_PS(lt, float32_lt(fst0, fst1,
2043 FOP_COND_PS(nge, float32_unordered(fst1, fst0,
2045 || float32_lt(fst0, fst1,
2051 FOP_COND_PS(le, float32_le(fst0, fst1,
2055 FOP_COND_PS(ngt, float32_unordered(fst1, fst0,
2057 || float32_le(fst0, fst1,
2161 uint32_t helper_r6_cmp_s_ ## op(CPUMIPSState *env, uint32_t fst0, \
2178 FOP_CONDN_S(af, (float32_unordered_quiet(fst1, fst0,
2180 FOP_CONDN_S(un, (float32_unordered_quiet(fst1, fst0,
2182 FOP_CONDN_S(eq, (float32_eq_quiet(fst0, fst1,
2184 FOP_CONDN_S(ueq, (float32_unordered_quiet(fst1, fst0,
2186 || float32_eq_quiet(fst0, fst1,
2188 FOP_CONDN_S(lt, (float32_lt_quiet(fst0, fst1,
2190 FOP_CONDN_S(ult, (float32_unordered_quiet(fst1, fst0,
2192 || float32_lt_quiet(fst0, fst1,
2194 FOP_CONDN_S(le, (float32_le_quiet(fst0, fst1,
2196 FOP_CONDN_S(ule, (float32_unordered_quiet(fst1, fst0,
2198 || float32_le_quiet(fst0, fst1,
2204 FOP_CONDN_S(saf, (float32_unordered(fst1, fst0,
2206 FOP_CONDN_S(sun, (float32_unordered(fst1, fst0,
2208 FOP_CONDN_S(seq, (float32_eq(fst0, fst1,
2210 FOP_CONDN_S(sueq, (float32_unordered(fst1, fst0,
2212 || float32_eq(fst0, fst1,
2214 FOP_CONDN_S(slt, (float32_lt(fst0, fst1,
2216 FOP_CONDN_S(sult, (float32_unordered(fst1, fst0,
2218 || float32_lt(fst0, fst1,
2220 FOP_CONDN_S(sle, (float32_le(fst0, fst1,
2222 FOP_CONDN_S(sule, (float32_unordered(fst1, fst0,
2224 || float32_le(fst0, fst1,
2226 FOP_CONDN_S(or, (float32_le_quiet(fst1, fst0,
2228 || float32_le_quiet(fst0, fst1,
2230 FOP_CONDN_S(une, (float32_unordered_quiet(fst1, fst0,
2232 || float32_lt_quiet(fst1, fst0,
2234 || float32_lt_quiet(fst0, fst1,
2236 FOP_CONDN_S(ne, (float32_lt_quiet(fst1, fst0,
2238 || float32_lt_quiet(fst0, fst1,
2240 FOP_CONDN_S(sor, (float32_le(fst1, fst0,
2242 || float32_le(fst0, fst1,
2244 FOP_CONDN_S(sune, (float32_unordered(fst1, fst0,
2246 || float32_lt(fst1, fst0,
2248 || float32_lt(fst0, fst1,
2250 FOP_CONDN_S(sne, (float32_lt(fst1, fst0,
2252 || float32_lt(fst0, fst1,