tag | line | file | source code |
st1_ptr | 386 | drivers/FPU-emu/fpu_trig.c | register FPU_REG *st1_ptr = st0_ptr; /* anticipate */ |
st1_ptr | 401 | drivers/FPU-emu/fpu_trig.c | reg_move(st1_ptr, st_new_ptr); |
st1_ptr | 403 | drivers/FPU-emu/fpu_trig.c | e = st1_ptr->exp - EXP_BIAS; |
st1_ptr | 404 | drivers/FPU-emu/fpu_trig.c | convert_l2reg(&e, st1_ptr); |
st1_ptr | 431 | drivers/FPU-emu/fpu_trig.c | reg_move(st1_ptr, st_new_ptr); |
st1_ptr | 772 | drivers/FPU-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st1_ptr | 773 | drivers/FPU-emu/fpu_trig.c | char st1_tag = st1_ptr->tag; |
st1_ptr | 781 | drivers/FPU-emu/fpu_trig.c | int expdif = st0_ptr->exp - st1_ptr->exp; |
st1_ptr | 788 | drivers/FPU-emu/fpu_trig.c | (st1_ptr->exp <= EXP_UNDER)) && (denormal_operand()) ) |
st1_ptr | 804 | drivers/FPU-emu/fpu_trig.c | reg_div(st0_ptr, st1_ptr, &tmp, PR_64_BITS | RC_CHOP | 0x3f); |
st1_ptr | 814 | drivers/FPU-emu/fpu_trig.c | significand(st1_ptr), |
st1_ptr | 817 | drivers/FPU-emu/fpu_trig.c | tmp.exp = st1_ptr->exp; |
st1_ptr | 831 | drivers/FPU-emu/fpu_trig.c | expdif = st1_ptr->exp - tmp.exp; |
st1_ptr | 835 | drivers/FPU-emu/fpu_trig.c | x = significand(st1_ptr) - significand(&tmp); |
st1_ptr | 837 | drivers/FPU-emu/fpu_trig.c | x = (significand(st1_ptr) << 1) - significand(&tmp); |
st1_ptr | 871 | drivers/FPU-emu/fpu_trig.c | exp_1 = st1_ptr->exp; st1_ptr->exp = EXP_BIAS; |
st1_ptr | 874 | drivers/FPU-emu/fpu_trig.c | reg_div(&tmp, st1_ptr, &tmp, PR_64_BITS | RC_CHOP | 0x3f); |
st1_ptr | 875 | drivers/FPU-emu/fpu_trig.c | st1_ptr->exp = exp_1; |
st1_ptr | 881 | drivers/FPU-emu/fpu_trig.c | significand(st1_ptr), |
st1_ptr | 934 | drivers/FPU-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 982 | drivers/FPU-emu/fpu_trig.c | real_2op_NaN(st1_ptr, st0_ptr, st0_ptr); |
st1_ptr | 991 | drivers/FPU-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st1_ptr | 992 | drivers/FPU-emu/fpu_trig.c | char st1_tag = st1_ptr->tag; |
st1_ptr | 1003 | drivers/FPU-emu/fpu_trig.c | (st1_ptr->exp <= EXP_UNDER)) && (denormal_operand()) ) |
st1_ptr | 1020 | drivers/FPU-emu/fpu_trig.c | reg_mul(st0_ptr, st1_ptr, st1_ptr, FULL_PRECISION); |
st1_ptr | 1027 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1039 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(st0_ptr, st1_ptr, st1_ptr) ) |
st1_ptr | 1051 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1060 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_INF, st1_ptr); |
st1_ptr | 1066 | drivers/FPU-emu/fpu_trig.c | if ( !divide_by_zero(st1_ptr->sign^SIGN_NEG^SIGN_POS, st1_ptr) ) |
st1_ptr | 1075 | drivers/FPU-emu/fpu_trig.c | char sign = st1_ptr->sign; |
st1_ptr | 1080 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1103 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1109 | drivers/FPU-emu/fpu_trig.c | char sign = st1_ptr->sign; |
st1_ptr | 1112 | drivers/FPU-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 1133 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1149 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_NEG; |
st1_ptr | 1161 | drivers/FPU-emu/fpu_trig.c | if ( !divide_by_zero(st1_ptr->sign, st1_ptr) ) |
st1_ptr | 1164 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_NEG^SIGN_POS; |
st1_ptr | 1171 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1182 | drivers/FPU-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st1_ptr | 1183 | drivers/FPU-emu/fpu_trig.c | char st1_tag = st1_ptr->tag; |
st1_ptr | 1184 | drivers/FPU-emu/fpu_trig.c | char st1_sign = st1_ptr->sign, st0_sign = st0_ptr->sign; |
st1_ptr | 1195 | drivers/FPU-emu/fpu_trig.c | (st1_ptr->exp <= EXP_UNDER)) && (denormal_operand()) ) |
st1_ptr | 1204 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign = st0_ptr->sign = SIGN_POS; |
st1_ptr | 1205 | drivers/FPU-emu/fpu_trig.c | if ( (compare(st1_ptr) & ~COMP_Denormal) == COMP_A_lt_B ) |
st1_ptr | 1208 | drivers/FPU-emu/fpu_trig.c | reg_div(st0_ptr, st1_ptr, &sum, FULL_PRECISION); |
st1_ptr | 1214 | drivers/FPU-emu/fpu_trig.c | (st1_ptr->exp - st0_ptr->exp < -64) ) |
st1_ptr | 1218 | drivers/FPU-emu/fpu_trig.c | reg_div(st1_ptr, st0_ptr, st1_ptr, |
st1_ptr | 1220 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign = st1_sign; |
st1_ptr | 1225 | drivers/FPU-emu/fpu_trig.c | reg_div(st1_ptr, st0_ptr, &sum, FULL_PRECISION); |
st1_ptr | 1244 | drivers/FPU-emu/fpu_trig.c | reg_move(&sum, st1_ptr); |
st1_ptr | 1253 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(st0_ptr, st1_ptr, st1_ptr) ) |
st1_ptr | 1259 | drivers/FPU-emu/fpu_trig.c | char sign = st1_ptr->sign; |
st1_ptr | 1265 | drivers/FPU-emu/fpu_trig.c | { reg_move(&CONST_PI4, st1_ptr); } |
st1_ptr | 1267 | drivers/FPU-emu/fpu_trig.c | reg_add(&CONST_PI4, &CONST_PI2, st1_ptr, FULL_PRECISION); |
st1_ptr | 1274 | drivers/FPU-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 1281 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_Z, st1_ptr); |
st1_ptr | 1282 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign = sign; /* An 80486 preserves the sign */ |
st1_ptr | 1287 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_PI, st1_ptr); |
st1_ptr | 1301 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_PI2, st1_ptr); |
st1_ptr | 1303 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign = sign; |
st1_ptr | 1308 | drivers/FPU-emu/fpu_trig.c | char sign = st1_ptr->sign; |
st1_ptr | 1321 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_PI, st1_ptr); |
st1_ptr | 1322 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign = sign; |
st1_ptr | 1327 | drivers/FPU-emu/fpu_trig.c | char sign = st1_ptr->sign; |
st1_ptr | 1330 | drivers/FPU-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 1334 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_PI2, st1_ptr); |
st1_ptr | 1335 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign = sign; |
st1_ptr | 1362 | drivers/FPU-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st1_ptr | 1363 | drivers/FPU-emu/fpu_trig.c | char st1_tag = st1_ptr->tag; |
st1_ptr | 1372 | drivers/FPU-emu/fpu_trig.c | (st1_ptr->exp <= EXP_UNDER)) && denormal_operand() ) |
st1_ptr | 1384 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_POS^SIGN_NEG; |
st1_ptr | 1389 | drivers/FPU-emu/fpu_trig.c | if ( arith_invalid(st1_ptr) ) /* poly_l2p1() returned invalid */ |
st1_ptr | 1400 | drivers/FPU-emu/fpu_trig.c | reg_mul(st0_ptr, st1_ptr, st1_ptr, FULL_PRECISION); |
st1_ptr | 1414 | drivers/FPU-emu/fpu_trig.c | if ( (st1_tag == TW_Valid) && (st1_ptr->exp <= EXP_UNDER) && |
st1_ptr | 1419 | drivers/FPU-emu/fpu_trig.c | st0_ptr->sign ^= st1_ptr->sign; |
st1_ptr | 1420 | drivers/FPU-emu/fpu_trig.c | reg_move(st0_ptr, st1_ptr); |
st1_ptr | 1425 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1431 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(st0_ptr, st1_ptr, st1_ptr) ) |
st1_ptr | 1454 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_POS^SIGN_NEG; |
st1_ptr | 1456 | drivers/FPU-emu/fpu_trig.c | if ( arith_invalid(st1_ptr) ) return; |
st1_ptr | 1464 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_POS^SIGN_NEG; |
st1_ptr | 1483 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_POS^SIGN_NEG; |
st1_ptr | 1485 | drivers/FPU-emu/fpu_trig.c | if ( arith_invalid(st1_ptr) ) return; |
st1_ptr | 1493 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign ^= SIGN_POS^SIGN_NEG; |
st1_ptr | 1504 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(st0_ptr, st1_ptr, st1_ptr) ) |
st1_ptr | 1511 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(st0_ptr, st1_ptr, st1_ptr) ) |
st1_ptr | 1519 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(st0_ptr, st1_ptr, st1_ptr) ) |
st1_ptr | 1525 | drivers/FPU-emu/fpu_trig.c | int exponent = st1_ptr->exp; |
st1_ptr | 1528 | drivers/FPU-emu/fpu_trig.c | if ( arith_invalid(st1_ptr) ) /* log(-infinity) */ |
st1_ptr | 1540 | drivers/FPU-emu/fpu_trig.c | if ( arith_invalid(st1_ptr) ) /* log(-infinity) */ |
st1_ptr | 1549 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(st1_ptr) ) |
st1_ptr | 1557 | drivers/FPU-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 1563 | drivers/FPU-emu/fpu_trig.c | { char sign = st1_ptr->sign; |
st1_ptr | 1564 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_INF, st1_ptr); |
st1_ptr | 1565 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign = sign; |
st1_ptr | 1582 | drivers/FPU-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st1_ptr | 1583 | drivers/FPU-emu/fpu_trig.c | char st1_tag = st1_ptr->tag; |
st1_ptr | 1595 | drivers/FPU-emu/fpu_trig.c | (st1_ptr->exp <= EXP_UNDER)) && (denormal_operand()) ) |
st1_ptr | 1599 | drivers/FPU-emu/fpu_trig.c | if ( st1_ptr->exp > EXP_BIAS + 30 ) |
st1_ptr | 1604 | drivers/FPU-emu/fpu_trig.c | if ( st1_ptr->sign == SIGN_POS ) |
st1_ptr | 1623 | drivers/FPU-emu/fpu_trig.c | reg_move(st1_ptr, &tmp); |
st1_ptr | 1626 | drivers/FPU-emu/fpu_trig.c | scale = st1_ptr->sign ? -tmp.sigl : tmp.sigl; |
st1_ptr | 1654 | drivers/FPU-emu/fpu_trig.c | if ( st1_ptr->sign == SIGN_POS ) |
st1_ptr | 1662 | drivers/FPU-emu/fpu_trig.c | { real_2op_NaN(st0_ptr, st1_ptr, st0_ptr); return; } |
st1_ptr | 1670 | drivers/FPU-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 1679 | drivers/FPU-emu/fpu_trig.c | if ( st1_ptr->sign == SIGN_NEG ) |
st1_ptr | 1688 | drivers/FPU-emu/fpu_trig.c | { real_2op_NaN(st0_ptr, st1_ptr, st0_ptr); return; } |
st1_ptr | 1696 | drivers/FPU-emu/fpu_trig.c | if ( (st1_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
st1_ptr | 1702 | drivers/FPU-emu/fpu_trig.c | if ( ((st1_tag == TW_Infinity) && (st1_ptr->sign == SIGN_POS)) |
st1_ptr | 1711 | drivers/FPU-emu/fpu_trig.c | { real_2op_NaN(st0_ptr, st1_ptr, st0_ptr); return; } |
st1_ptr | 1716 | drivers/FPU-emu/fpu_trig.c | { real_2op_NaN(st0_ptr, st1_ptr, st0_ptr); return; } |