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