tag | line | file | source code |
st1_ptr | 370 | arch/i386/math-emu/fpu_trig.c | register FPU_REG *st1_ptr = st0_ptr; /* anticipate */ |
st1_ptr | 385 | arch/i386/math-emu/fpu_trig.c | reg_move(st1_ptr, st_new_ptr); |
st1_ptr | 387 | arch/i386/math-emu/fpu_trig.c | e = st1_ptr->exp - EXP_BIAS; |
st1_ptr | 388 | arch/i386/math-emu/fpu_trig.c | convert_l2reg(&e, st1_ptr); |
st1_ptr | 415 | arch/i386/math-emu/fpu_trig.c | reg_move(st1_ptr, st_new_ptr); |
st1_ptr | 765 | arch/i386/math-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st1_ptr | 766 | arch/i386/math-emu/fpu_trig.c | char st1_tag = st1_ptr->tag; |
st1_ptr | 774 | arch/i386/math-emu/fpu_trig.c | int expdif = st0_ptr->exp - st1_ptr->exp; |
st1_ptr | 781 | arch/i386/math-emu/fpu_trig.c | (st1_ptr->exp <= EXP_UNDER)) && (denormal_operand()) ) |
st1_ptr | 797 | arch/i386/math-emu/fpu_trig.c | reg_div(st0_ptr, st1_ptr, &tmp, PR_64_BITS | RC_CHOP | 0x3f); |
st1_ptr | 807 | arch/i386/math-emu/fpu_trig.c | significand(st1_ptr), |
st1_ptr | 810 | arch/i386/math-emu/fpu_trig.c | tmp.exp = st1_ptr->exp; |
st1_ptr | 824 | arch/i386/math-emu/fpu_trig.c | expdif = st1_ptr->exp - tmp.exp; |
st1_ptr | 828 | arch/i386/math-emu/fpu_trig.c | x = significand(st1_ptr) - significand(&tmp); |
st1_ptr | 830 | arch/i386/math-emu/fpu_trig.c | x = (significand(st1_ptr) << 1) - significand(&tmp); |
st1_ptr | 864 | arch/i386/math-emu/fpu_trig.c | exp_1 = st1_ptr->exp; st1_ptr->exp = EXP_BIAS; |
st1_ptr | 867 | arch/i386/math-emu/fpu_trig.c | reg_div(&tmp, st1_ptr, &tmp, PR_64_BITS | RC_CHOP | 0x3f); |
st1_ptr | 868 | arch/i386/math-emu/fpu_trig.c | st1_ptr->exp = exp_1; |
st1_ptr | 874 | arch/i386/math-emu/fpu_trig.c | significand(st1_ptr), |
st1_ptr | 927 | arch/i386/math-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 975 | arch/i386/math-emu/fpu_trig.c | real_2op_NaN(st1_ptr, st0_ptr, st0_ptr); |
st1_ptr | 984 | arch/i386/math-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1), exponent; |
st1_ptr | 985 | arch/i386/math-emu/fpu_trig.c | char st1_tag = st1_ptr->tag; |
st1_ptr | 995 | arch/i386/math-emu/fpu_trig.c | (st1_ptr->exp <= EXP_UNDER)) && (denormal_operand()) ) |
st1_ptr | 1017 | arch/i386/math-emu/fpu_trig.c | reg_mul(&exponent, st1_ptr, st1_ptr, FULL_PRECISION); |
st1_ptr | 1022 | arch/i386/math-emu/fpu_trig.c | poly_l2(st0_ptr, st1_ptr, st1_ptr); |
st1_ptr | 1023 | arch/i386/math-emu/fpu_trig.c | if ( st1_ptr->exp <= EXP_UNDER ) |
st1_ptr | 1028 | arch/i386/math-emu/fpu_trig.c | arith_underflow(st1_ptr); |
st1_ptr | 1039 | arch/i386/math-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1051 | arch/i386/math-emu/fpu_trig.c | if ( !real_2op_NaN(st0_ptr, st1_ptr, st1_ptr) ) |
st1_ptr | 1063 | arch/i386/math-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1072 | arch/i386/math-emu/fpu_trig.c | reg_move(&CONST_INF, st1_ptr); |
st1_ptr | 1078 | arch/i386/math-emu/fpu_trig.c | if ( !divide_by_zero(st1_ptr->sign^SIGN_NEG^SIGN_POS, st1_ptr) ) |
st1_ptr | 1087 | arch/i386/math-emu/fpu_trig.c | char sign = st1_ptr->sign; |
st1_ptr | 1092 | arch/i386/math-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1115 | arch/i386/math-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1121 | arch/i386/math-emu/fpu_trig.c | char sign = st1_ptr->sign; |
st1_ptr | 1124 | arch/i386/math-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 1145 | arch/i386/math-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1161 | arch/i386/math-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_NEG; |
st1_ptr | 1173 | arch/i386/math-emu/fpu_trig.c | if ( !divide_by_zero(st1_ptr->sign, st1_ptr) ) |
st1_ptr | 1176 | arch/i386/math-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_NEG^SIGN_POS; |
st1_ptr | 1183 | arch/i386/math-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1194 | arch/i386/math-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st1_ptr | 1195 | arch/i386/math-emu/fpu_trig.c | char st1_tag = st1_ptr->tag; |
st1_ptr | 1202 | arch/i386/math-emu/fpu_trig.c | (st1_ptr->exp <= EXP_UNDER)) && (denormal_operand()) ) |
st1_ptr | 1206 | arch/i386/math-emu/fpu_trig.c | poly_atan(st0_ptr, st1_ptr, st1_ptr); |
st1_ptr | 1208 | arch/i386/math-emu/fpu_trig.c | if ( st1_ptr->exp <= EXP_UNDER ) |
st1_ptr | 1213 | arch/i386/math-emu/fpu_trig.c | arith_underflow(st1_ptr); |
st1_ptr | 1225 | arch/i386/math-emu/fpu_trig.c | if ( !real_2op_NaN(st0_ptr, st1_ptr, st1_ptr) ) |
st1_ptr | 1231 | arch/i386/math-emu/fpu_trig.c | char sign = st1_ptr->sign; |
st1_ptr | 1237 | arch/i386/math-emu/fpu_trig.c | { reg_move(&CONST_PI4, st1_ptr); } |
st1_ptr | 1239 | arch/i386/math-emu/fpu_trig.c | reg_add(&CONST_PI4, &CONST_PI2, st1_ptr, FULL_PRECISION); |
st1_ptr | 1246 | arch/i386/math-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 1253 | arch/i386/math-emu/fpu_trig.c | reg_move(&CONST_Z, st1_ptr); |
st1_ptr | 1254 | arch/i386/math-emu/fpu_trig.c | st1_ptr->sign = sign; /* An 80486 preserves the sign */ |
st1_ptr | 1259 | arch/i386/math-emu/fpu_trig.c | reg_move(&CONST_PI, st1_ptr); |
st1_ptr | 1273 | arch/i386/math-emu/fpu_trig.c | reg_move(&CONST_PI2, st1_ptr); |
st1_ptr | 1275 | arch/i386/math-emu/fpu_trig.c | st1_ptr->sign = sign; |
st1_ptr | 1280 | arch/i386/math-emu/fpu_trig.c | char sign = st1_ptr->sign; |
st1_ptr | 1293 | arch/i386/math-emu/fpu_trig.c | reg_move(&CONST_PI, st1_ptr); |
st1_ptr | 1294 | arch/i386/math-emu/fpu_trig.c | st1_ptr->sign = sign; |
st1_ptr | 1299 | arch/i386/math-emu/fpu_trig.c | char sign = st1_ptr->sign; |
st1_ptr | 1302 | arch/i386/math-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 1306 | arch/i386/math-emu/fpu_trig.c | reg_move(&CONST_PI2, st1_ptr); |
st1_ptr | 1307 | arch/i386/math-emu/fpu_trig.c | st1_ptr->sign = sign; |
st1_ptr | 1334 | arch/i386/math-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st1_ptr | 1335 | arch/i386/math-emu/fpu_trig.c | char st1_tag = st1_ptr->tag; |
st1_ptr | 1342 | arch/i386/math-emu/fpu_trig.c | (st1_ptr->exp <= EXP_UNDER)) && denormal_operand() ) |
st1_ptr | 1346 | arch/i386/math-emu/fpu_trig.c | if ( poly_l2p1(st0_ptr, st1_ptr, st1_ptr) ) |
st1_ptr | 1349 | arch/i386/math-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_POS^SIGN_NEG; |
st1_ptr | 1351 | arch/i386/math-emu/fpu_trig.c | if ( arith_invalid(st1_ptr) ) /* poly_l2p1() returned invalid */ |
st1_ptr | 1355 | arch/i386/math-emu/fpu_trig.c | if ( st1_ptr->exp <= EXP_UNDER ) |
st1_ptr | 1360 | arch/i386/math-emu/fpu_trig.c | sign = st1_ptr->sign; |
st1_ptr | 1361 | arch/i386/math-emu/fpu_trig.c | arith_underflow(st1_ptr); |
st1_ptr | 1362 | arch/i386/math-emu/fpu_trig.c | st1_ptr->sign = sign; |
st1_ptr | 1379 | arch/i386/math-emu/fpu_trig.c | if ( (st1_tag == TW_Valid) && (st1_ptr->exp <= EXP_UNDER) && |
st1_ptr | 1384 | arch/i386/math-emu/fpu_trig.c | st0_ptr->sign ^= st1_ptr->sign; |
st1_ptr | 1385 | arch/i386/math-emu/fpu_trig.c | reg_move(st0_ptr, st1_ptr); |
st1_ptr | 1390 | arch/i386/math-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1396 | arch/i386/math-emu/fpu_trig.c | if ( !real_2op_NaN(st0_ptr, st1_ptr, st1_ptr) ) |
st1_ptr | 1419 | arch/i386/math-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_POS^SIGN_NEG; |
st1_ptr | 1421 | arch/i386/math-emu/fpu_trig.c | if ( arith_invalid(st1_ptr) ) return; |
st1_ptr | 1429 | arch/i386/math-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_POS^SIGN_NEG; |
st1_ptr | 1448 | arch/i386/math-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_POS^SIGN_NEG; |
st1_ptr | 1450 | arch/i386/math-emu/fpu_trig.c | if ( arith_invalid(st1_ptr) ) return; |
st1_ptr | 1458 | arch/i386/math-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_POS^SIGN_NEG; |
st1_ptr | 1469 | arch/i386/math-emu/fpu_trig.c | if ( !real_2op_NaN(st0_ptr, st1_ptr, st1_ptr) ) |
st1_ptr | 1476 | arch/i386/math-emu/fpu_trig.c | if ( !real_2op_NaN(st0_ptr, st1_ptr, st1_ptr) ) |
st1_ptr | 1484 | arch/i386/math-emu/fpu_trig.c | if ( !real_2op_NaN(st0_ptr, st1_ptr, st1_ptr) ) |
st1_ptr | 1490 | arch/i386/math-emu/fpu_trig.c | int exponent = st1_ptr->exp; |
st1_ptr | 1493 | arch/i386/math-emu/fpu_trig.c | if ( arith_invalid(st1_ptr) ) /* log(-infinity) */ |
st1_ptr | 1505 | arch/i386/math-emu/fpu_trig.c | if ( arith_invalid(st1_ptr) ) /* log(-infinity) */ |
st1_ptr | 1514 | arch/i386/math-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1522 | arch/i386/math-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 1528 | arch/i386/math-emu/fpu_trig.c | { char sign = st1_ptr->sign; |
st1_ptr | 1529 | arch/i386/math-emu/fpu_trig.c | reg_move(&CONST_INF, st1_ptr); |
st1_ptr | 1530 | arch/i386/math-emu/fpu_trig.c | st1_ptr->sign = sign; |
st1_ptr | 1547 | arch/i386/math-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st1_ptr | 1548 | arch/i386/math-emu/fpu_trig.c | char st1_tag = st1_ptr->tag; |
st1_ptr | 1560 | arch/i386/math-emu/fpu_trig.c | (st1_ptr->exp <= EXP_UNDER)) && (denormal_operand()) ) |
st1_ptr | 1564 | arch/i386/math-emu/fpu_trig.c | if ( st1_ptr->exp > EXP_BIAS + 30 ) |
st1_ptr | 1569 | arch/i386/math-emu/fpu_trig.c | if ( st1_ptr->sign == SIGN_POS ) |
st1_ptr | 1588 | arch/i386/math-emu/fpu_trig.c | reg_move(st1_ptr, &tmp); |
st1_ptr | 1591 | arch/i386/math-emu/fpu_trig.c | scale = st1_ptr->sign ? -tmp.sigl : tmp.sigl; |
st1_ptr | 1619 | arch/i386/math-emu/fpu_trig.c | if ( st1_ptr->sign == SIGN_POS ) |
st1_ptr | 1627 | arch/i386/math-emu/fpu_trig.c | { real_2op_NaN(st0_ptr, st1_ptr, st0_ptr); return; } |
st1_ptr | 1635 | arch/i386/math-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 1644 | arch/i386/math-emu/fpu_trig.c | if ( st1_ptr->sign == SIGN_NEG ) |
st1_ptr | 1653 | arch/i386/math-emu/fpu_trig.c | { real_2op_NaN(st0_ptr, st1_ptr, st0_ptr); return; } |
st1_ptr | 1661 | arch/i386/math-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 1667 | arch/i386/math-emu/fpu_trig.c | if ( ((st1_tag == TW_Infinity) && (st1_ptr->sign == SIGN_POS)) |
st1_ptr | 1676 | arch/i386/math-emu/fpu_trig.c | { real_2op_NaN(st0_ptr, st1_ptr, st0_ptr); return; } |
st1_ptr | 1681 | arch/i386/math-emu/fpu_trig.c | { real_2op_NaN(st0_ptr, st1_ptr, st0_ptr); return; } |