tag | line | file | source code |
st1_ptr | 384 | drivers/FPU-emu/fpu_trig.c | register FPU_REG *st1_ptr = FPU_st0_ptr; /* anticipate */ |
st1_ptr | 399 | drivers/FPU-emu/fpu_trig.c | reg_move(st1_ptr, FPU_st0_ptr); |
st1_ptr | 401 | drivers/FPU-emu/fpu_trig.c | e = st1_ptr->exp - EXP_BIAS; |
st1_ptr | 402 | drivers/FPU-emu/fpu_trig.c | convert_l2reg(&e, st1_ptr); |
st1_ptr | 429 | drivers/FPU-emu/fpu_trig.c | reg_move(st1_ptr, FPU_st0_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 | 773 | drivers/FPU-emu/fpu_trig.c | int expdif = FPU_st0_ptr->exp - st1_ptr->exp; |
st1_ptr | 780 | drivers/FPU-emu/fpu_trig.c | (st1_ptr->exp <= EXP_UNDER)) && (denormal_operand()) ) |
st1_ptr | 796 | drivers/FPU-emu/fpu_trig.c | reg_div(FPU_st0_ptr, st1_ptr, &tmp, PR_64_BITS | RC_CHOP | 0x3f); |
st1_ptr | 806 | drivers/FPU-emu/fpu_trig.c | significand(st1_ptr), |
st1_ptr | 809 | drivers/FPU-emu/fpu_trig.c | tmp.exp = st1_ptr->exp; |
st1_ptr | 823 | drivers/FPU-emu/fpu_trig.c | expdif = st1_ptr->exp - tmp.exp; |
st1_ptr | 827 | drivers/FPU-emu/fpu_trig.c | x = significand(st1_ptr) - significand(&tmp); |
st1_ptr | 829 | drivers/FPU-emu/fpu_trig.c | x = (significand(st1_ptr) << 1) - significand(&tmp); |
st1_ptr | 863 | drivers/FPU-emu/fpu_trig.c | exp_1 = st1_ptr->exp; st1_ptr->exp = EXP_BIAS; |
st1_ptr | 866 | drivers/FPU-emu/fpu_trig.c | reg_div(&tmp, st1_ptr, &tmp, PR_64_BITS | RC_CHOP | 0x3f); |
st1_ptr | 867 | drivers/FPU-emu/fpu_trig.c | st1_ptr->exp = exp_1; |
st1_ptr | 873 | drivers/FPU-emu/fpu_trig.c | significand(st1_ptr), |
st1_ptr | 926 | drivers/FPU-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 974 | drivers/FPU-emu/fpu_trig.c | real_2op_NaN(st1_ptr, FPU_st0_ptr, FPU_st0_ptr); |
st1_ptr | 982 | drivers/FPU-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st1_ptr | 983 | drivers/FPU-emu/fpu_trig.c | char st1_tag = st1_ptr->tag; |
st1_ptr | 994 | drivers/FPU-emu/fpu_trig.c | (st1_ptr->exp <= EXP_UNDER)) && (denormal_operand()) ) |
st1_ptr | 1011 | drivers/FPU-emu/fpu_trig.c | reg_mul(FPU_st0_ptr, st1_ptr, st1_ptr, FULL_PRECISION); |
st1_ptr | 1018 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1030 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr) ) |
st1_ptr | 1042 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1051 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_INF, st1_ptr); |
st1_ptr | 1057 | drivers/FPU-emu/fpu_trig.c | if ( !divide_by_zero(st1_ptr->sign^SIGN_NEG^SIGN_POS, st1_ptr) ) |
st1_ptr | 1066 | drivers/FPU-emu/fpu_trig.c | char sign = st1_ptr->sign; |
st1_ptr | 1071 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1094 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1100 | drivers/FPU-emu/fpu_trig.c | char sign = st1_ptr->sign; |
st1_ptr | 1103 | drivers/FPU-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 1124 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1140 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_NEG; |
st1_ptr | 1152 | drivers/FPU-emu/fpu_trig.c | if ( !divide_by_zero(st1_ptr->sign, st1_ptr) ) |
st1_ptr | 1155 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_NEG^SIGN_POS; |
st1_ptr | 1162 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1172 | drivers/FPU-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st1_ptr | 1173 | drivers/FPU-emu/fpu_trig.c | char st1_tag = st1_ptr->tag; |
st1_ptr | 1174 | drivers/FPU-emu/fpu_trig.c | char st1_sign = st1_ptr->sign, st0_sign = FPU_st0_ptr->sign; |
st1_ptr | 1185 | drivers/FPU-emu/fpu_trig.c | (st1_ptr->exp <= EXP_UNDER)) && (denormal_operand()) ) |
st1_ptr | 1194 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign = FPU_st0_ptr->sign = SIGN_POS; |
st1_ptr | 1195 | drivers/FPU-emu/fpu_trig.c | if ( (compare(st1_ptr) & ~COMP_Denormal) == COMP_A_lt_B ) |
st1_ptr | 1198 | drivers/FPU-emu/fpu_trig.c | reg_div(FPU_st0_ptr, st1_ptr, &sum, FULL_PRECISION); |
st1_ptr | 1204 | drivers/FPU-emu/fpu_trig.c | (st1_ptr->exp - FPU_st0_ptr->exp < -64) ) |
st1_ptr | 1208 | drivers/FPU-emu/fpu_trig.c | reg_div(st1_ptr, FPU_st0_ptr, st1_ptr, |
st1_ptr | 1210 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign = st1_sign; |
st1_ptr | 1215 | drivers/FPU-emu/fpu_trig.c | reg_div(st1_ptr, FPU_st0_ptr, &sum, FULL_PRECISION); |
st1_ptr | 1234 | drivers/FPU-emu/fpu_trig.c | reg_move(&sum, st1_ptr); |
st1_ptr | 1243 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr) ) |
st1_ptr | 1249 | drivers/FPU-emu/fpu_trig.c | char sign = st1_ptr->sign; |
st1_ptr | 1255 | drivers/FPU-emu/fpu_trig.c | { reg_move(&CONST_PI4, st1_ptr); } |
st1_ptr | 1257 | drivers/FPU-emu/fpu_trig.c | reg_add(&CONST_PI4, &CONST_PI2, st1_ptr, FULL_PRECISION); |
st1_ptr | 1264 | drivers/FPU-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 1271 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_Z, st1_ptr); |
st1_ptr | 1272 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign = sign; /* An 80486 preserves the sign */ |
st1_ptr | 1277 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_PI, st1_ptr); |
st1_ptr | 1291 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_PI2, st1_ptr); |
st1_ptr | 1293 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign = sign; |
st1_ptr | 1298 | drivers/FPU-emu/fpu_trig.c | char sign = st1_ptr->sign; |
st1_ptr | 1311 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_PI, st1_ptr); |
st1_ptr | 1312 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign = sign; |
st1_ptr | 1317 | drivers/FPU-emu/fpu_trig.c | char sign = st1_ptr->sign; |
st1_ptr | 1320 | drivers/FPU-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 1324 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_PI2, st1_ptr); |
st1_ptr | 1325 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign = sign; |
st1_ptr | 1351 | drivers/FPU-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st1_ptr | 1352 | drivers/FPU-emu/fpu_trig.c | char st1_tag = st1_ptr->tag; |
st1_ptr | 1361 | drivers/FPU-emu/fpu_trig.c | (st1_ptr->exp <= EXP_UNDER)) && denormal_operand() ) |
st1_ptr | 1373 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_POS^SIGN_NEG; |
st1_ptr | 1378 | drivers/FPU-emu/fpu_trig.c | if ( arith_invalid(st1_ptr) ) /* poly_l2p1() returned invalid */ |
st1_ptr | 1389 | drivers/FPU-emu/fpu_trig.c | reg_mul(FPU_st0_ptr, st1_ptr, st1_ptr, FULL_PRECISION); |
st1_ptr | 1403 | drivers/FPU-emu/fpu_trig.c | if ( (st1_tag == TW_Valid) && (st1_ptr->exp <= EXP_UNDER) && |
st1_ptr | 1408 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign ^= st1_ptr->sign; |
st1_ptr | 1409 | drivers/FPU-emu/fpu_trig.c | reg_move(FPU_st0_ptr, st1_ptr); |
st1_ptr | 1414 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1420 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr) ) |
st1_ptr | 1443 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_POS^SIGN_NEG; |
st1_ptr | 1445 | drivers/FPU-emu/fpu_trig.c | if ( arith_invalid(st1_ptr) ) return; |
st1_ptr | 1453 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_POS^SIGN_NEG; |
st1_ptr | 1472 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_POS^SIGN_NEG; |
st1_ptr | 1474 | drivers/FPU-emu/fpu_trig.c | if ( arith_invalid(st1_ptr) ) return; |
st1_ptr | 1482 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_POS^SIGN_NEG; |
st1_ptr | 1493 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr) ) |
st1_ptr | 1500 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr) ) |
st1_ptr | 1508 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr) ) |
st1_ptr | 1514 | drivers/FPU-emu/fpu_trig.c | int exponent = st1_ptr->exp; |
st1_ptr | 1517 | drivers/FPU-emu/fpu_trig.c | if ( arith_invalid(st1_ptr) ) /* log(-infinity) */ |
st1_ptr | 1529 | drivers/FPU-emu/fpu_trig.c | if ( arith_invalid(st1_ptr) ) /* log(-infinity) */ |
st1_ptr | 1538 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1546 | drivers/FPU-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 1552 | drivers/FPU-emu/fpu_trig.c | { char sign = st1_ptr->sign; |
st1_ptr | 1553 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_INF, st1_ptr); |
st1_ptr | 1554 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign = sign; |
st1_ptr | 1570 | drivers/FPU-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st1_ptr | 1571 | drivers/FPU-emu/fpu_trig.c | char st1_tag = st1_ptr->tag; |
st1_ptr | 1583 | drivers/FPU-emu/fpu_trig.c | (st1_ptr->exp <= EXP_UNDER)) && (denormal_operand()) ) |
st1_ptr | 1587 | drivers/FPU-emu/fpu_trig.c | if ( st1_ptr->exp > EXP_BIAS + 30 ) |
st1_ptr | 1592 | drivers/FPU-emu/fpu_trig.c | if ( st1_ptr->sign == SIGN_POS ) |
st1_ptr | 1611 | drivers/FPU-emu/fpu_trig.c | reg_move(st1_ptr, &tmp); |
st1_ptr | 1614 | drivers/FPU-emu/fpu_trig.c | scale = st1_ptr->sign ? -tmp.sigl : tmp.sigl; |
st1_ptr | 1642 | drivers/FPU-emu/fpu_trig.c | if ( st1_ptr->sign == SIGN_POS ) |
st1_ptr | 1650 | drivers/FPU-emu/fpu_trig.c | { real_2op_NaN(FPU_st0_ptr, st1_ptr, FPU_st0_ptr); return; } |
st1_ptr | 1658 | 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_ptr->sign == SIGN_NEG ) |
st1_ptr | 1676 | drivers/FPU-emu/fpu_trig.c | { real_2op_NaN(FPU_st0_ptr, st1_ptr, FPU_st0_ptr); return; } |
st1_ptr | 1684 | drivers/FPU-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 1690 | drivers/FPU-emu/fpu_trig.c | if ( ((st1_tag == TW_Infinity) && (st1_ptr->sign == SIGN_POS)) |
st1_ptr | 1699 | drivers/FPU-emu/fpu_trig.c | { real_2op_NaN(FPU_st0_ptr, st1_ptr, FPU_st0_ptr); return; } |
st1_ptr | 1704 | drivers/FPU-emu/fpu_trig.c | { real_2op_NaN(FPU_st0_ptr, st1_ptr, FPU_st0_ptr); return; } |