tag | line | file | source code |
st1_ptr | 360 | drivers/FPU-emu/fpu_trig.c | register FPU_REG *st1_ptr = FPU_st0_ptr; /* anticipate */ |
st1_ptr | 375 | drivers/FPU-emu/fpu_trig.c | reg_move(st1_ptr, FPU_st0_ptr); |
st1_ptr | 377 | drivers/FPU-emu/fpu_trig.c | e = st1_ptr->exp - EXP_BIAS; |
st1_ptr | 378 | drivers/FPU-emu/fpu_trig.c | convert_l2reg(&e, st1_ptr); |
st1_ptr | 405 | drivers/FPU-emu/fpu_trig.c | reg_move(st1_ptr, FPU_st0_ptr); |
st1_ptr | 741 | drivers/FPU-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st1_ptr | 742 | drivers/FPU-emu/fpu_trig.c | char st1_tag = st1_ptr->tag; |
st1_ptr | 749 | drivers/FPU-emu/fpu_trig.c | int expdif = FPU_st0_ptr->exp - st1_ptr->exp; |
st1_ptr | 756 | drivers/FPU-emu/fpu_trig.c | (st1_ptr->exp <= EXP_UNDER)) && (denormal_operand()) ) |
st1_ptr | 772 | drivers/FPU-emu/fpu_trig.c | reg_div(FPU_st0_ptr, st1_ptr, &tmp, PR_64_BITS | RC_CHOP | 0x3f); |
st1_ptr | 782 | drivers/FPU-emu/fpu_trig.c | significand(st1_ptr), |
st1_ptr | 785 | drivers/FPU-emu/fpu_trig.c | tmp.exp = st1_ptr->exp; |
st1_ptr | 799 | drivers/FPU-emu/fpu_trig.c | expdif = st1_ptr->exp - tmp.exp; |
st1_ptr | 803 | drivers/FPU-emu/fpu_trig.c | x = significand(st1_ptr) - significand(&tmp); |
st1_ptr | 805 | drivers/FPU-emu/fpu_trig.c | x = (significand(st1_ptr) << 1) - significand(&tmp); |
st1_ptr | 839 | drivers/FPU-emu/fpu_trig.c | exp_1 = st1_ptr->exp; st1_ptr->exp = EXP_BIAS; |
st1_ptr | 842 | drivers/FPU-emu/fpu_trig.c | reg_div(&tmp, st1_ptr, &tmp, PR_64_BITS | RC_CHOP | 0x3f); |
st1_ptr | 843 | drivers/FPU-emu/fpu_trig.c | st1_ptr->exp = exp_1; |
st1_ptr | 849 | drivers/FPU-emu/fpu_trig.c | significand(st1_ptr), |
st1_ptr | 902 | drivers/FPU-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 950 | drivers/FPU-emu/fpu_trig.c | real_2op_NaN(st1_ptr, FPU_st0_ptr, FPU_st0_ptr); |
st1_ptr | 958 | drivers/FPU-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st1_ptr | 959 | drivers/FPU-emu/fpu_trig.c | char st1_tag = st1_ptr->tag; |
st1_ptr | 970 | drivers/FPU-emu/fpu_trig.c | (st1_ptr->exp <= EXP_UNDER)) && (denormal_operand()) ) |
st1_ptr | 987 | drivers/FPU-emu/fpu_trig.c | reg_mul(FPU_st0_ptr, st1_ptr, st1_ptr, FULL_PRECISION); |
st1_ptr | 994 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1006 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr) ) |
st1_ptr | 1018 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1027 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_INF, st1_ptr); |
st1_ptr | 1033 | drivers/FPU-emu/fpu_trig.c | if ( !divide_by_zero(st1_ptr->sign^SIGN_NEG^SIGN_POS, st1_ptr) ) |
st1_ptr | 1042 | drivers/FPU-emu/fpu_trig.c | char sign = st1_ptr->sign; |
st1_ptr | 1047 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1070 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1076 | drivers/FPU-emu/fpu_trig.c | char sign = st1_ptr->sign; |
st1_ptr | 1079 | drivers/FPU-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 1100 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1116 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_NEG; |
st1_ptr | 1128 | drivers/FPU-emu/fpu_trig.c | if ( !divide_by_zero(st1_ptr->sign, st1_ptr) ) |
st1_ptr | 1131 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_NEG^SIGN_POS; |
st1_ptr | 1138 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1148 | drivers/FPU-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st1_ptr | 1149 | drivers/FPU-emu/fpu_trig.c | char st1_tag = st1_ptr->tag; |
st1_ptr | 1150 | drivers/FPU-emu/fpu_trig.c | char st1_sign = st1_ptr->sign, st0_sign = FPU_st0_ptr->sign; |
st1_ptr | 1161 | drivers/FPU-emu/fpu_trig.c | (st1_ptr->exp <= EXP_UNDER)) && (denormal_operand()) ) |
st1_ptr | 1170 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign = FPU_st0_ptr->sign = SIGN_POS; |
st1_ptr | 1171 | drivers/FPU-emu/fpu_trig.c | if ( (compare(st1_ptr) & ~COMP_Denormal) == COMP_A_lt_B ) |
st1_ptr | 1174 | drivers/FPU-emu/fpu_trig.c | reg_div(FPU_st0_ptr, st1_ptr, &sum, FULL_PRECISION); |
st1_ptr | 1180 | drivers/FPU-emu/fpu_trig.c | (st1_ptr->exp - FPU_st0_ptr->exp < -64) ) |
st1_ptr | 1184 | drivers/FPU-emu/fpu_trig.c | reg_div(st1_ptr, FPU_st0_ptr, st1_ptr, |
st1_ptr | 1186 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign = st1_sign; |
st1_ptr | 1191 | drivers/FPU-emu/fpu_trig.c | reg_div(st1_ptr, FPU_st0_ptr, &sum, FULL_PRECISION); |
st1_ptr | 1210 | drivers/FPU-emu/fpu_trig.c | reg_move(&sum, st1_ptr); |
st1_ptr | 1219 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr) ) |
st1_ptr | 1225 | drivers/FPU-emu/fpu_trig.c | char sign = st1_ptr->sign; |
st1_ptr | 1231 | drivers/FPU-emu/fpu_trig.c | { reg_move(&CONST_PI4, st1_ptr); } |
st1_ptr | 1233 | drivers/FPU-emu/fpu_trig.c | reg_add(&CONST_PI4, &CONST_PI2, st1_ptr, FULL_PRECISION); |
st1_ptr | 1240 | drivers/FPU-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 1247 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_Z, st1_ptr); |
st1_ptr | 1248 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign = sign; /* An 80486 preserves the sign */ |
st1_ptr | 1253 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_PI, st1_ptr); |
st1_ptr | 1267 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_PI2, st1_ptr); |
st1_ptr | 1269 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign = sign; |
st1_ptr | 1274 | drivers/FPU-emu/fpu_trig.c | char sign = st1_ptr->sign; |
st1_ptr | 1287 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_PI, st1_ptr); |
st1_ptr | 1288 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign = sign; |
st1_ptr | 1293 | drivers/FPU-emu/fpu_trig.c | char sign = st1_ptr->sign; |
st1_ptr | 1296 | drivers/FPU-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 1300 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_PI2, st1_ptr); |
st1_ptr | 1301 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign = sign; |
st1_ptr | 1327 | drivers/FPU-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st1_ptr | 1328 | drivers/FPU-emu/fpu_trig.c | char st1_tag = st1_ptr->tag; |
st1_ptr | 1337 | drivers/FPU-emu/fpu_trig.c | (st1_ptr->exp <= EXP_UNDER)) && denormal_operand() ) |
st1_ptr | 1349 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_POS^SIGN_NEG; |
st1_ptr | 1354 | drivers/FPU-emu/fpu_trig.c | if ( arith_invalid(st1_ptr) ) /* poly_l2p1() returned invalid */ |
st1_ptr | 1365 | drivers/FPU-emu/fpu_trig.c | reg_mul(FPU_st0_ptr, st1_ptr, st1_ptr, FULL_PRECISION); |
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 | FPU_st0_ptr->sign ^= st1_ptr->sign; |
st1_ptr | 1385 | drivers/FPU-emu/fpu_trig.c | reg_move(FPU_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(FPU_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(FPU_st0_ptr, st1_ptr, st1_ptr) ) |
st1_ptr | 1476 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr) ) |
st1_ptr | 1484 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(FPU_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 | 1546 | drivers/FPU-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st1_ptr | 1547 | drivers/FPU-emu/fpu_trig.c | char st1_tag = st1_ptr->tag; |
st1_ptr | 1559 | drivers/FPU-emu/fpu_trig.c | (st1_ptr->exp <= EXP_UNDER)) && (denormal_operand()) ) |
st1_ptr | 1563 | drivers/FPU-emu/fpu_trig.c | if ( st1_ptr->exp > EXP_BIAS + 30 ) |
st1_ptr | 1568 | drivers/FPU-emu/fpu_trig.c | if ( st1_ptr->sign == SIGN_POS ) |
st1_ptr | 1587 | drivers/FPU-emu/fpu_trig.c | reg_move(st1_ptr, &tmp); |
st1_ptr | 1590 | drivers/FPU-emu/fpu_trig.c | scale = st1_ptr->sign ? -tmp.sigl : tmp.sigl; |
st1_ptr | 1618 | drivers/FPU-emu/fpu_trig.c | if ( st1_ptr->sign == SIGN_POS ) |
st1_ptr | 1626 | drivers/FPU-emu/fpu_trig.c | { real_2op_NaN(FPU_st0_ptr, st1_ptr, FPU_st0_ptr); return; } |
st1_ptr | 1634 | drivers/FPU-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 1643 | drivers/FPU-emu/fpu_trig.c | if ( st1_ptr->sign == SIGN_NEG ) |
st1_ptr | 1652 | drivers/FPU-emu/fpu_trig.c | { real_2op_NaN(FPU_st0_ptr, st1_ptr, FPU_st0_ptr); return; } |
st1_ptr | 1660 | drivers/FPU-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 1666 | drivers/FPU-emu/fpu_trig.c | if ( ((st1_tag == TW_Infinity) && (st1_ptr->sign == SIGN_POS)) |
st1_ptr | 1675 | drivers/FPU-emu/fpu_trig.c | { real_2op_NaN(FPU_st0_ptr, st1_ptr, FPU_st0_ptr); return; } |
st1_ptr | 1680 | drivers/FPU-emu/fpu_trig.c | { real_2op_NaN(FPU_st0_ptr, st1_ptr, FPU_st0_ptr); return; } |