Lines Matching refs:ST0

34 #define ST0    (env->fpregs[env->fpstt].d)  macro
324 u.f = floatx80_to_float32(ST0, &env->fp_status); in helper_fsts_ST0()
337 u.f = floatx80_to_float64(ST0, &env->fp_status); in helper_fstl_ST0()
347 val = floatx80_to_int32(ST0, &env->fp_status); in helper_fist_ST0()
361 val = floatx80_to_int32(ST0, &env->fp_status); in helper_fistl_ST0()
374 val = floatx80_to_int64(ST0, &env->fp_status); in helper_fistll_ST0()
387 val = floatx80_to_int32_round_to_zero(ST0, &env->fp_status); in helper_fistt_ST0()
401 val = floatx80_to_int32_round_to_zero(ST0, &env->fp_status); in helper_fisttl_ST0()
414 val = floatx80_to_int64_round_to_zero(ST0, &env->fp_status); in helper_fisttll_ST0()
440 do_fstt(&ac, ptr, ST0); in helper_fstt_ST0()
474 ST0 = FT0; in helper_fmov_ST0_FT0()
484 ST0 = ST(st_index); in helper_fmov_ST0_STN()
489 ST(st_index) = ST0; in helper_fmov_STN_ST0()
497 ST(st_index) = ST0; in helper_fxchg_ST0_STN()
498 ST0 = tmp; in helper_fxchg_ST0_STN()
510 ret = floatx80_compare(ST0, FT0, &env->fp_status); in helper_fcom_ST0_FT0()
520 ret = floatx80_compare_quiet(ST0, FT0, &env->fp_status); in helper_fucom_ST0_FT0()
533 ret = floatx80_compare(ST0, FT0, &env->fp_status); in helper_fcomi_ST0_FT0()
546 ret = floatx80_compare_quiet(ST0, FT0, &env->fp_status); in helper_fucomi_ST0_FT0()
556 ST0 = floatx80_add(ST0, FT0, &env->fp_status); in helper_fadd_ST0_FT0()
563 ST0 = floatx80_mul(ST0, FT0, &env->fp_status); in helper_fmul_ST0_FT0()
570 ST0 = floatx80_sub(ST0, FT0, &env->fp_status); in helper_fsub_ST0_FT0()
577 ST0 = floatx80_sub(FT0, ST0, &env->fp_status); in helper_fsubr_ST0_FT0()
583 ST0 = helper_fdiv(env, ST0, FT0); in helper_fdiv_ST0_FT0()
588 ST0 = helper_fdiv(env, FT0, ST0); in helper_fdivr_ST0_FT0()
596 ST(st_index) = floatx80_add(ST(st_index), ST0, &env->fp_status); in helper_fadd_STN_ST0()
603 ST(st_index) = floatx80_mul(ST(st_index), ST0, &env->fp_status); in helper_fmul_STN_ST0()
610 ST(st_index) = floatx80_sub(ST(st_index), ST0, &env->fp_status); in helper_fsub_STN_ST0()
617 ST(st_index) = floatx80_sub(ST0, ST(st_index), &env->fp_status); in helper_fsubr_STN_ST0()
626 *p = helper_fdiv(env, *p, ST0); in helper_fdiv_STN_ST0()
634 *p = helper_fdiv(env, ST0, *p); in helper_fdivr_STN_ST0()
640 ST0 = floatx80_chs(ST0); in helper_fchs_ST0()
645 ST0 = floatx80_abs(ST0); in helper_fabs_ST0()
650 ST0 = floatx80_one; in helper_fld1_ST0()
657 ST0 = floatx80_l2t_u; in helper_fldl2t_ST0()
660 ST0 = floatx80_l2t; in helper_fldl2t_ST0()
670 ST0 = floatx80_l2e_d; in helper_fldl2e_ST0()
673 ST0 = floatx80_l2e; in helper_fldl2e_ST0()
683 ST0 = floatx80_pi_d; in helper_fldpi_ST0()
686 ST0 = floatx80_pi; in helper_fldpi_ST0()
696 ST0 = floatx80_lg2_d; in helper_fldlg2_ST0()
699 ST0 = floatx80_lg2; in helper_fldlg2_ST0()
709 ST0 = floatx80_ln2_d; in helper_fldln2_ST0()
712 ST0 = floatx80_ln2; in helper_fldln2_ST0()
719 ST0 = floatx80_zero; in helper_fldz_ST0()
836 ST0 = tmp; in helper_fbld_ST0()
849 temp.d = ST0; in helper_fbst_ST0()
851 val = floatx80_to_int64(ST0, &env->fp_status); in helper_fbst_ST0()
1117 uint64_t sig = extractFloatx80Frac(ST0); in helper_f2xm1()
1118 int32_t exp = extractFloatx80Exp(ST0); in helper_f2xm1()
1119 bool sign = extractFloatx80Sign(ST0); in helper_f2xm1()
1121 if (floatx80_invalid_encoding(ST0)) { in helper_f2xm1()
1123 ST0 = floatx80_default_nan(&env->fp_status); in helper_f2xm1()
1124 } else if (floatx80_is_any_nan(ST0)) { in helper_f2xm1()
1125 if (floatx80_is_signaling_nan(ST0, &env->fp_status)) { in helper_f2xm1()
1127 ST0 = floatx80_silence_nan(ST0, &env->fp_status); in helper_f2xm1()
1133 ST0 = floatx80_default_nan(&env->fp_status); in helper_f2xm1()
1137 ST0 = make_floatx80(0xbffe, 0x8000000000000000ULL); in helper_f2xm1()
1140 if (!floatx80_is_zero(ST0)) { in helper_f2xm1()
1154 ST0 = normalizeRoundAndPackFloatx80(floatx80_precision_x, in helper_f2xm1()
1170 tmp = floatx80_scalbn(ST0, 5, &env->fp_status); in helper_f2xm1()
1172 y = floatx80_sub(ST0, f2xm1_table[n].t, &env->fp_status); in helper_f2xm1()
1180 ST0 = f2xm1_table[n].t; in helper_f2xm1()
1265 ST0 = normalizeRoundAndPackFloatx80(floatx80_precision_x, in helper_f2xm1()
1277 double fptemp = floatx80_to_double(env, ST0); in helper_fptan()
1283 ST0 = double_to_floatx80(env, fptemp); in helper_fptan()
1285 ST0 = floatx80_one; in helper_fptan()
1350 uint64_t arg0_sig = extractFloatx80Frac(ST0); in helper_fpatan()
1351 int32_t arg0_exp = extractFloatx80Exp(ST0); in helper_fpatan()
1352 bool arg0_sign = extractFloatx80Sign(ST0); in helper_fpatan()
1357 if (floatx80_is_signaling_nan(ST0, &env->fp_status)) { in helper_fpatan()
1359 ST1 = floatx80_silence_nan(ST0, &env->fp_status); in helper_fpatan()
1363 } else if (floatx80_invalid_encoding(ST0) || in helper_fpatan()
1367 } else if (floatx80_is_any_nan(ST0)) { in helper_fpatan()
1368 ST1 = ST0; in helper_fpatan()
1373 } else if (((floatx80_is_infinity(ST0) && !floatx80_is_infinity(ST1)) || in helper_fpatan()
1387 ST1 = floatx80_div(ST1, ST0, &env->fp_status); in helper_fpatan()
1423 if (floatx80_is_infinity(ST0)) { in helper_fpatan()
1438 } else if (floatx80_is_zero(ST0) || arg1_exp - arg0_exp >= 80) { in helper_fpatan()
1442 } else if (floatx80_is_infinity(ST0) || arg0_exp - arg1_exp >= 80) { in helper_fpatan()
1789 temp.d = ST0; in helper_fxtract()
1791 if (floatx80_is_zero(ST0)) { in helper_fxtract()
1793 ST0 = floatx80_div(floatx80_chs(floatx80_one), floatx80_zero, in helper_fxtract()
1796 ST0 = temp.d; in helper_fxtract()
1797 } else if (floatx80_invalid_encoding(ST0)) { in helper_fxtract()
1799 ST0 = floatx80_default_nan(&env->fp_status); in helper_fxtract()
1801 ST0 = ST1; in helper_fxtract()
1802 } else if (floatx80_is_any_nan(ST0)) { in helper_fxtract()
1803 if (floatx80_is_signaling_nan(ST0, &env->fp_status)) { in helper_fxtract()
1805 ST0 = floatx80_silence_nan(ST0, &env->fp_status); in helper_fxtract()
1808 ST0 = ST1; in helper_fxtract()
1809 } else if (floatx80_is_infinity(ST0)) { in helper_fxtract()
1811 ST0 = ST1; in helper_fxtract()
1825 ST0 = int32_to_floatx80(expdif, &env->fp_status); in helper_fxtract()
1828 ST0 = temp.d; in helper_fxtract()
1840 temp0.d = ST0; in helper_fprem_common()
1846 if (floatx80_is_zero(ST0) || floatx80_is_zero(ST1) || in helper_fprem_common()
1848 floatx80_invalid_encoding(ST0) || floatx80_invalid_encoding(ST1)) { in helper_fprem_common()
1849 ST0 = floatx80_modrem(ST0, ST1, mod, &quotient, &env->fp_status); in helper_fprem_common()
1859 ST0 = floatx80_modrem(ST0, ST1, mod, &quotient, &env->fp_status); in helper_fprem_common()
1876 ST0 = floatx80_mod(ST0, temp1.d, &env->fp_status); in helper_fprem_common()
2031 uint64_t arg0_sig = extractFloatx80Frac(ST0); in helper_fyl2xp1()
2032 int32_t arg0_exp = extractFloatx80Exp(ST0); in helper_fyl2xp1()
2033 bool arg0_sign = extractFloatx80Sign(ST0); in helper_fyl2xp1()
2038 if (floatx80_is_signaling_nan(ST0, &env->fp_status)) { in helper_fyl2xp1()
2040 ST1 = floatx80_silence_nan(ST0, &env->fp_status); in helper_fyl2xp1()
2044 } else if (floatx80_invalid_encoding(ST0) || in helper_fyl2xp1()
2048 } else if (floatx80_is_any_nan(ST0)) { in helper_fyl2xp1()
2049 ST1 = ST0; in helper_fyl2xp1()
2064 } else if (floatx80_is_zero(ST0) || floatx80_is_zero(ST1) || in helper_fyl2xp1()
2071 ST1 = floatx80_mul(ST0, ST1, &env->fp_status); in helper_fyl2xp1()
2104 helper_fyl2x_common(env, ST0, &aexp, &asig0, &asig1); in helper_fyl2xp1()
2129 uint64_t arg0_sig = extractFloatx80Frac(ST0); in helper_fyl2x()
2130 int32_t arg0_exp = extractFloatx80Exp(ST0); in helper_fyl2x()
2131 bool arg0_sign = extractFloatx80Sign(ST0); in helper_fyl2x()
2136 if (floatx80_is_signaling_nan(ST0, &env->fp_status)) { in helper_fyl2x()
2138 ST1 = floatx80_silence_nan(ST0, &env->fp_status); in helper_fyl2x()
2142 } else if (floatx80_invalid_encoding(ST0) || in helper_fyl2x()
2146 } else if (floatx80_is_any_nan(ST0)) { in helper_fyl2x()
2147 ST1 = ST0; in helper_fyl2x()
2150 } else if (arg0_sign && !floatx80_is_zero(ST0)) { in helper_fyl2x()
2154 FloatRelation cmp = floatx80_compare(ST0, floatx80_one, in helper_fyl2x()
2168 } else if (floatx80_is_infinity(ST0)) { in helper_fyl2x()
2173 ST1 = floatx80_chs(ST0); in helper_fyl2x()
2175 ST1 = ST0; in helper_fyl2x()
2177 } else if (floatx80_is_zero(ST0)) { in helper_fyl2x()
2188 if (floatx80_lt(ST0, floatx80_one, &env->fp_status)) { in helper_fyl2x()
2192 } else if (floatx80_eq(ST0, floatx80_one, &env->fp_status)) { in helper_fyl2x()
2217 arg0_m1 = floatx80_sub(floatx80_scalbn(ST0, -int_exp, in helper_fyl2x()
2276 if (floatx80_is_neg(ST0)) { in helper_fsqrt()
2280 ST0 = floatx80_sqrt(ST0, &env->fp_status); in helper_fsqrt()
2286 double fptemp = floatx80_to_double(env, ST0); in helper_fsincos()
2291 ST0 = double_to_floatx80(env, sin(fptemp)); in helper_fsincos()
2293 ST0 = double_to_floatx80(env, cos(fptemp)); in helper_fsincos()
2302 ST0 = floatx80_round_to_int(ST0, &env->fp_status); in helper_frndint()
2309 if (floatx80_invalid_encoding(ST1) || floatx80_invalid_encoding(ST0)) { in helper_fscale()
2311 ST0 = floatx80_default_nan(&env->fp_status); in helper_fscale()
2313 if (floatx80_is_signaling_nan(ST0, &env->fp_status)) { in helper_fscale()
2316 ST0 = ST1; in helper_fscale()
2317 if (floatx80_is_signaling_nan(ST0, &env->fp_status)) { in helper_fscale()
2319 ST0 = floatx80_silence_nan(ST0, &env->fp_status); in helper_fscale()
2322 !floatx80_invalid_encoding(ST0) && in helper_fscale()
2323 !floatx80_is_any_nan(ST0)) { in helper_fscale()
2325 if (floatx80_is_infinity(ST0)) { in helper_fscale()
2327 ST0 = floatx80_default_nan(&env->fp_status); in helper_fscale()
2329 ST0 = (floatx80_is_neg(ST0) ? in helper_fscale()
2334 if (floatx80_is_zero(ST0)) { in helper_fscale()
2336 ST0 = floatx80_default_nan(&env->fp_status); in helper_fscale()
2338 ST0 = (floatx80_is_neg(ST0) ? in helper_fscale()
2351 ST0 = floatx80_scalbn(ST0, n, &env->fp_status); in helper_fscale()
2359 double fptemp = floatx80_to_double(env, ST0); in helper_fsin()
2364 ST0 = double_to_floatx80(env, sin(fptemp)); in helper_fsin()
2372 double fptemp = floatx80_to_double(env, ST0); in helper_fcos()
2377 ST0 = double_to_floatx80(env, cos(fptemp)); in helper_fcos()
2388 temp.d = ST0; in helper_fxam_ST0()