tag | line | file | source code |
FPU_st0_ptr | 543 | drivers/FPU-emu/errors.c | reg_move(&CONST_QNaN, FPU_st0_ptr = &st(0)); |
FPU_st0_ptr | 559 | drivers/FPU-emu/errors.c | reg_move(&CONST_QNaN, FPU_st0_ptr); |
FPU_st0_ptr | 23 | drivers/FPU-emu/fpu_arith.c | reg_add(FPU_st0_ptr, &st(FPU_rm), FPU_st0_ptr, control_word); |
FPU_st0_ptr | 31 | drivers/FPU-emu/fpu_arith.c | reg_mul(FPU_st0_ptr, &st(FPU_rm), FPU_st0_ptr, control_word); |
FPU_st0_ptr | 40 | drivers/FPU-emu/fpu_arith.c | reg_sub(FPU_st0_ptr, &st(FPU_rm), FPU_st0_ptr, control_word); |
FPU_st0_ptr | 48 | drivers/FPU-emu/fpu_arith.c | reg_sub(&st(FPU_rm), FPU_st0_ptr, FPU_st0_ptr, control_word); |
FPU_st0_ptr | 56 | drivers/FPU-emu/fpu_arith.c | reg_div(FPU_st0_ptr, &st(FPU_rm), FPU_st0_ptr, control_word); |
FPU_st0_ptr | 64 | drivers/FPU-emu/fpu_arith.c | reg_div(&st(FPU_rm), FPU_st0_ptr, FPU_st0_ptr, control_word); |
FPU_st0_ptr | 73 | drivers/FPU-emu/fpu_arith.c | reg_add(FPU_st0_ptr, &st(FPU_rm), &st(FPU_rm), control_word); |
FPU_st0_ptr | 81 | drivers/FPU-emu/fpu_arith.c | reg_mul(FPU_st0_ptr, &st(FPU_rm), &st(FPU_rm), control_word); |
FPU_st0_ptr | 91 | drivers/FPU-emu/fpu_arith.c | reg_sub(FPU_st0_ptr, &st(FPU_rm), &st(FPU_rm), control_word); |
FPU_st0_ptr | 101 | drivers/FPU-emu/fpu_arith.c | reg_sub(&st(FPU_rm), FPU_st0_ptr, &st(FPU_rm), control_word); |
FPU_st0_ptr | 109 | drivers/FPU-emu/fpu_arith.c | reg_div(FPU_st0_ptr, &st(FPU_rm), &st(FPU_rm), control_word); |
FPU_st0_ptr | 117 | drivers/FPU-emu/fpu_arith.c | reg_div(&st(FPU_rm), FPU_st0_ptr, &st(FPU_rm), control_word); |
FPU_st0_ptr | 126 | drivers/FPU-emu/fpu_arith.c | if ( !reg_add(FPU_st0_ptr, &st(FPU_rm), &st(FPU_rm), control_word) ) |
FPU_st0_ptr | 135 | drivers/FPU-emu/fpu_arith.c | if ( !reg_mul(FPU_st0_ptr, &st(FPU_rm), &st(FPU_rm), control_word) ) |
FPU_st0_ptr | 147 | drivers/FPU-emu/fpu_arith.c | if ( !reg_sub(FPU_st0_ptr, &st(FPU_rm), &st(FPU_rm), control_word) ) |
FPU_st0_ptr | 158 | drivers/FPU-emu/fpu_arith.c | if ( !reg_sub(&st(FPU_rm), FPU_st0_ptr, &st(FPU_rm), control_word) ) |
FPU_st0_ptr | 167 | drivers/FPU-emu/fpu_arith.c | if ( !reg_div(FPU_st0_ptr, &st(FPU_rm), &st(FPU_rm), control_word) ) |
FPU_st0_ptr | 176 | drivers/FPU-emu/fpu_arith.c | if ( !reg_div(&st(FPU_rm), FPU_st0_ptr, &st(FPU_rm), control_word) ) |
FPU_st0_ptr | 131 | drivers/FPU-emu/fpu_aux.c | reg_move(sti_ptr, FPU_st0_ptr); /* Masked response */ |
FPU_st0_ptr | 138 | drivers/FPU-emu/fpu_aux.c | reg_move(FPU_st0_ptr, sti_ptr); /* Masked response */ |
FPU_st0_ptr | 143 | drivers/FPU-emu/fpu_aux.c | reg_move(FPU_st0_ptr, &t); |
FPU_st0_ptr | 144 | drivers/FPU-emu/fpu_aux.c | reg_move(sti_ptr, FPU_st0_ptr); |
FPU_st0_ptr | 167 | drivers/FPU-emu/fpu_aux.c | reg_move(FPU_st0_ptr, &st(FPU_rm)); |
FPU_st0_ptr | 174 | drivers/FPU-emu/fpu_aux.c | reg_move(FPU_st0_ptr, &st(FPU_rm)); |
FPU_st0_ptr | 94 | drivers/FPU-emu/fpu_emu.h | extern FPU_REG *FPU_st0_ptr; |
FPU_st0_ptr | 103 | drivers/FPU-emu/fpu_emu.h | #define pop() { FPU_st0_ptr->tag = TW_Empty; top++; } |
FPU_st0_ptr | 106 | drivers/FPU-emu/fpu_emu.h | #define push() { top--; FPU_st0_ptr = st_new_ptr; } |
FPU_st0_ptr | 139 | drivers/FPU-emu/fpu_entry.c | FPU_REG *FPU_st0_ptr; |
FPU_st0_ptr | 317 | drivers/FPU-emu/fpu_entry.c | FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 318 | drivers/FPU-emu/fpu_entry.c | FPU_st0_tag = FPU_st0_ptr->tag; |
FPU_st0_ptr | 342 | drivers/FPU-emu/fpu_entry.c | FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 343 | drivers/FPU-emu/fpu_entry.c | FPU_st0_tag = FPU_st0_ptr->tag; |
FPU_st0_ptr | 369 | drivers/FPU-emu/fpu_entry.c | real_2op_NaN(&FPU_loaded_data, FPU_st0_ptr, |
FPU_st0_ptr | 370 | drivers/FPU-emu/fpu_entry.c | FPU_st0_ptr); |
FPU_st0_ptr | 374 | drivers/FPU-emu/fpu_entry.c | real_2op_NaN(FPU_st0_ptr, &FPU_loaded_data, |
FPU_st0_ptr | 375 | drivers/FPU-emu/fpu_entry.c | FPU_st0_ptr); |
FPU_st0_ptr | 390 | drivers/FPU-emu/fpu_entry.c | FPU_st0_ptr) ) |
FPU_st0_ptr | 408 | drivers/FPU-emu/fpu_entry.c | reg_add(FPU_st0_ptr, &FPU_loaded_data, FPU_st0_ptr, |
FPU_st0_ptr | 413 | drivers/FPU-emu/fpu_entry.c | reg_mul(FPU_st0_ptr, &FPU_loaded_data, FPU_st0_ptr, |
FPU_st0_ptr | 425 | drivers/FPU-emu/fpu_entry.c | reg_sub(FPU_st0_ptr, &FPU_loaded_data, FPU_st0_ptr, |
FPU_st0_ptr | 430 | drivers/FPU-emu/fpu_entry.c | reg_sub(&FPU_loaded_data, FPU_st0_ptr, FPU_st0_ptr, |
FPU_st0_ptr | 435 | drivers/FPU-emu/fpu_entry.c | reg_div(FPU_st0_ptr, &FPU_loaded_data, FPU_st0_ptr, |
FPU_st0_ptr | 443 | drivers/FPU-emu/fpu_entry.c | reg_div(&FPU_loaded_data, FPU_st0_ptr, FPU_st0_ptr, |
FPU_st0_ptr | 485 | drivers/FPU-emu/fpu_entry.c | FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 486 | drivers/FPU-emu/fpu_entry.c | FPU_st0_tag = FPU_st0_ptr->tag; |
FPU_st0_ptr | 24 | drivers/FPU-emu/fpu_etc.c | FPU_st0_ptr->sign ^= SIGN_POS^SIGN_NEG; |
FPU_st0_ptr | 35 | drivers/FPU-emu/fpu_etc.c | FPU_st0_ptr->sign = SIGN_POS; |
FPU_st0_ptr | 51 | drivers/FPU-emu/fpu_etc.c | if (FPU_st0_ptr->sign == SIGN_POS) |
FPU_st0_ptr | 57 | drivers/FPU-emu/fpu_etc.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 61 | drivers/FPU-emu/fpu_etc.c | if (FPU_st0_ptr->sign == SIGN_POS) |
FPU_st0_ptr | 74 | drivers/FPU-emu/fpu_etc.c | if (FPU_st0_ptr->sign == SIGN_POS) |
FPU_st0_ptr | 103 | drivers/FPU-emu/fpu_etc.c | if ( FPU_st0_ptr->exp <= EXP_UNDER ) |
FPU_st0_ptr | 115 | drivers/FPU-emu/fpu_etc.c | if (FPU_st0_ptr->sign == SIGN_NEG) |
FPU_st0_ptr | 150 | drivers/FPU-emu/fpu_trig.c | if ( !(FPU_st0_ptr->sigh & 0x40000000) ) /* Signaling ? */ |
FPU_st0_ptr | 154 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sigh |= 0x40000000; /* Convert to a QNaN */ |
FPU_st0_ptr | 175 | drivers/FPU-emu/fpu_trig.c | if ( !(FPU_st0_ptr->sigh & 0x40000000) ) /* Signaling ? */ |
FPU_st0_ptr | 182 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sigh |= 0x40000000; |
FPU_st0_ptr | 185 | drivers/FPU-emu/fpu_trig.c | reg_move(&st(1), FPU_st0_ptr); |
FPU_st0_ptr | 193 | drivers/FPU-emu/fpu_trig.c | reg_move(&st(1), FPU_st0_ptr); |
FPU_st0_ptr | 215 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp >= 0 ) |
FPU_st0_ptr | 219 | drivers/FPU-emu/fpu_trig.c | else if ( FPU_st0_ptr->exp >= -64 ) |
FPU_st0_ptr | 221 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_POS ) |
FPU_st0_ptr | 224 | drivers/FPU-emu/fpu_trig.c | poly_2xm1(FPU_st0_ptr, &rv); |
FPU_st0_ptr | 225 | drivers/FPU-emu/fpu_trig.c | reg_mul(&rv, FPU_st0_ptr, FPU_st0_ptr, FULL_PRECISION); |
FPU_st0_ptr | 232 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_POS; |
FPU_st0_ptr | 233 | drivers/FPU-emu/fpu_trig.c | poly_2xm1(FPU_st0_ptr, &rv); |
FPU_st0_ptr | 234 | drivers/FPU-emu/fpu_trig.c | reg_mul(&rv, FPU_st0_ptr, &rv, FULL_PRECISION); |
FPU_st0_ptr | 236 | drivers/FPU-emu/fpu_trig.c | reg_div(&rv, &tmp, FPU_st0_ptr, FULL_PRECISION); |
FPU_st0_ptr | 237 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_NEG; |
FPU_st0_ptr | 243 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 247 | drivers/FPU-emu/fpu_trig.c | reg_mul(&CONST_LN2, FPU_st0_ptr, FPU_st0_ptr, FULL_PRECISION); |
FPU_st0_ptr | 255 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_NEG ) |
FPU_st0_ptr | 258 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_1, FPU_st0_ptr); |
FPU_st0_ptr | 259 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_NEG; |
FPU_st0_ptr | 272 | drivers/FPU-emu/fpu_trig.c | char arg_sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 294 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp > EXP_BIAS - 40 ) |
FPU_st0_ptr | 296 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_POS; |
FPU_st0_ptr | 297 | drivers/FPU-emu/fpu_trig.c | if ( (q = trig_arg(FPU_st0_ptr, FPTAN)) != -1 ) |
FPU_st0_ptr | 299 | drivers/FPU-emu/fpu_trig.c | reg_div(FPU_st0_ptr, &CONST_PI2, FPU_st0_ptr, |
FPU_st0_ptr | 301 | drivers/FPU-emu/fpu_trig.c | poly_tan(FPU_st0_ptr, FPU_st0_ptr, q & FCOS); |
FPU_st0_ptr | 302 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = (q & 1) ^ arg_sign; |
FPU_st0_ptr | 307 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = arg_sign; /* restore st(0) */ |
FPU_st0_ptr | 316 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp <= EXP_UNDER ) |
FPU_st0_ptr | 325 | drivers/FPU-emu/fpu_trig.c | if ( arith_underflow(FPU_st0_ptr) ) |
FPU_st0_ptr | 332 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_1, FPU_st0_ptr); |
FPU_st0_ptr | 337 | drivers/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); |
FPU_st0_ptr | 342 | drivers/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); |
FPU_st0_ptr | 347 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_1, FPU_st0_ptr); |
FPU_st0_ptr | 360 | drivers/FPU-emu/fpu_trig.c | register FPU_REG *st1_ptr = FPU_st0_ptr; /* anticipate */ |
FPU_st0_ptr | 370 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 375 | drivers/FPU-emu/fpu_trig.c | reg_move(st1_ptr, FPU_st0_ptr); |
FPU_st0_ptr | 376 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->exp = EXP_BIAS; |
FPU_st0_ptr | 383 | drivers/FPU-emu/fpu_trig.c | char sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 384 | drivers/FPU-emu/fpu_trig.c | if ( divide_by_zero(SIGN_NEG, FPU_st0_ptr) ) |
FPU_st0_ptr | 387 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_Z, FPU_st0_ptr); |
FPU_st0_ptr | 388 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
FPU_st0_ptr | 393 | drivers/FPU-emu/fpu_trig.c | char sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 394 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_POS; |
FPU_st0_ptr | 396 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_INF, FPU_st0_ptr); |
FPU_st0_ptr | 397 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
FPU_st0_ptr | 402 | drivers/FPU-emu/fpu_trig.c | if ( real_2op_NaN(FPU_st0_ptr, FPU_st0_ptr, FPU_st0_ptr) ) |
FPU_st0_ptr | 405 | drivers/FPU-emu/fpu_trig.c | reg_move(st1_ptr, FPU_st0_ptr); |
FPU_st0_ptr | 447 | drivers/FPU-emu/fpu_trig.c | if (FPU_st0_ptr->sign == SIGN_NEG) |
FPU_st0_ptr | 449 | drivers/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); /* sqrt(negative) is invalid */ |
FPU_st0_ptr | 454 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 458 | drivers/FPU-emu/fpu_trig.c | expon = FPU_st0_ptr->exp - EXP_BIAS; |
FPU_st0_ptr | 459 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->exp = EXP_BIAS + (expon & 1); /* make st(0) in [1.0 .. 4.0) */ |
FPU_st0_ptr | 461 | drivers/FPU-emu/fpu_trig.c | wm_sqrt(FPU_st0_ptr, control_word); /* Do the computation */ |
FPU_st0_ptr | 463 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->exp += expon >> 1; |
FPU_st0_ptr | 464 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_POS; |
FPU_st0_ptr | 470 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_NEG ) |
FPU_st0_ptr | 471 | drivers/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); /* sqrt(-Infinity) is invalid */ |
FPU_st0_ptr | 486 | drivers/FPU-emu/fpu_trig.c | if (FPU_st0_ptr->exp > EXP_BIAS+63) |
FPU_st0_ptr | 490 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 495 | drivers/FPU-emu/fpu_trig.c | if ( (flags = round_to_int(FPU_st0_ptr)) ) |
FPU_st0_ptr | 498 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->exp = EXP_BIAS + 63; |
FPU_st0_ptr | 499 | drivers/FPU-emu/fpu_trig.c | normalize(FPU_st0_ptr); |
FPU_st0_ptr | 511 | drivers/FPU-emu/fpu_trig.c | char arg_sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 518 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp > EXP_BIAS - 40 ) |
FPU_st0_ptr | 520 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_POS; |
FPU_st0_ptr | 521 | drivers/FPU-emu/fpu_trig.c | if ( (q = trig_arg(FPU_st0_ptr, 0)) != -1 ) |
FPU_st0_ptr | 523 | drivers/FPU-emu/fpu_trig.c | reg_div(FPU_st0_ptr, &CONST_PI2, FPU_st0_ptr, FULL_PRECISION); |
FPU_st0_ptr | 525 | drivers/FPU-emu/fpu_trig.c | poly_sine(FPU_st0_ptr, &rv); |
FPU_st0_ptr | 530 | drivers/FPU-emu/fpu_trig.c | reg_move(&rv, FPU_st0_ptr); |
FPU_st0_ptr | 539 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = arg_sign; /* restore st(0) */ |
FPU_st0_ptr | 548 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp <= EXP_UNDER ) |
FPU_st0_ptr | 557 | drivers/FPU-emu/fpu_trig.c | arith_underflow(FPU_st0_ptr); |
FPU_st0_ptr | 572 | drivers/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); |
FPU_st0_ptr | 640 | drivers/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); |
FPU_st0_ptr | 653 | drivers/FPU-emu/fpu_trig.c | f_cos(FPU_st0_ptr); |
FPU_st0_ptr | 686 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(FPU_st0_ptr) ) |
FPU_st0_ptr | 690 | drivers/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); |
FPU_st0_ptr | 695 | drivers/FPU-emu/fpu_trig.c | reg_move(FPU_st0_ptr,&arg); |
FPU_st0_ptr | 700 | drivers/FPU-emu/fpu_trig.c | reg_move(&arg,FPU_st0_ptr); |
FPU_st0_ptr | 743 | drivers/FPU-emu/fpu_trig.c | char sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 749 | drivers/FPU-emu/fpu_trig.c | int expdif = FPU_st0_ptr->exp - st1_ptr->exp; |
FPU_st0_ptr | 755 | drivers/FPU-emu/fpu_trig.c | if ( ((FPU_st0_ptr->exp <= EXP_UNDER) || |
FPU_st0_ptr | 772 | drivers/FPU-emu/fpu_trig.c | reg_div(FPU_st0_ptr, st1_ptr, &tmp, PR_64_BITS | RC_CHOP | 0x3f); |
FPU_st0_ptr | 780 | drivers/FPU-emu/fpu_trig.c | rem_kernel(significand(FPU_st0_ptr), |
FPU_st0_ptr | 789 | drivers/FPU-emu/fpu_trig.c | reg_move(FPU_st0_ptr, &tmp); |
FPU_st0_ptr | 837 | drivers/FPU-emu/fpu_trig.c | reg_move(FPU_st0_ptr, &tmp); |
FPU_st0_ptr | 847 | drivers/FPU-emu/fpu_trig.c | rem_kernel(significand(FPU_st0_ptr), |
FPU_st0_ptr | 866 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_Z, FPU_st0_ptr); |
FPU_st0_ptr | 867 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
FPU_st0_ptr | 881 | drivers/FPU-emu/fpu_trig.c | reg_move(&tmp, FPU_st0_ptr); |
FPU_st0_ptr | 886 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (FPU_st0_ptr->tag != TW_Zero) |
FPU_st0_ptr | 888 | drivers/FPU-emu/fpu_trig.c | arith_underflow(FPU_st0_ptr); |
FPU_st0_ptr | 909 | drivers/FPU-emu/fpu_trig.c | { arith_invalid(FPU_st0_ptr); return; } /* fprem(?,0) always invalid */ |
FPU_st0_ptr | 917 | drivers/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); /* fprem(Valid,Zero) is invalid */ |
FPU_st0_ptr | 923 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 938 | drivers/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); /* fprem(Infinity,?) is invalid */ |
FPU_st0_ptr | 950 | drivers/FPU-emu/fpu_trig.c | real_2op_NaN(st1_ptr, FPU_st0_ptr, FPU_st0_ptr); |
FPU_st0_ptr | 964 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_POS ) |
FPU_st0_ptr | 969 | drivers/FPU-emu/fpu_trig.c | if ( ((FPU_st0_ptr->exp <= EXP_UNDER) || |
FPU_st0_ptr | 980 | drivers/FPU-emu/fpu_trig.c | poly_l2(FPU_st0_ptr, FPU_st0_ptr); |
FPU_st0_ptr | 987 | drivers/FPU-emu/fpu_trig.c | reg_mul(FPU_st0_ptr, st1_ptr, st1_ptr, FULL_PRECISION); |
FPU_st0_ptr | 989 | drivers/FPU-emu/fpu_trig.c | pop(); FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 1006 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr) ) |
FPU_st0_ptr | 1025 | drivers/FPU-emu/fpu_trig.c | else if ( FPU_st0_ptr->tag == TW_Infinity ) |
FPU_st0_ptr | 1044 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_NEG ) |
FPU_st0_ptr | 1053 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 1057 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp < EXP_BIAS ) sign ^= SIGN_NEG^SIGN_POS; |
FPU_st0_ptr | 1058 | drivers/FPU-emu/fpu_trig.c | pop(); FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 1059 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_Z, FPU_st0_ptr); |
FPU_st0_ptr | 1060 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
FPU_st0_ptr | 1067 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->sign == SIGN_NEG) || (st1_tag == TW_Zero) ) |
FPU_st0_ptr | 1083 | drivers/FPU-emu/fpu_trig.c | pop(); FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 1084 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_INF, FPU_st0_ptr); |
FPU_st0_ptr | 1085 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
FPU_st0_ptr | 1090 | drivers/FPU-emu/fpu_trig.c | else if ( (FPU_st0_tag == TW_Valid) && (FPU_st0_ptr->sign == SIGN_POS) ) |
FPU_st0_ptr | 1092 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp >= EXP_BIAS ) |
FPU_st0_ptr | 1094 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp == EXP_BIAS) && |
FPU_st0_ptr | 1095 | drivers/FPU-emu/fpu_trig.c | (FPU_st0_ptr->sigh == 0x80000000) && |
FPU_st0_ptr | 1096 | drivers/FPU-emu/fpu_trig.c | (FPU_st0_ptr->sigl == 0) ) |
FPU_st0_ptr | 1112 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 1124 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->tag == TW_Zero ) |
FPU_st0_ptr | 1150 | drivers/FPU-emu/fpu_trig.c | char st1_sign = st1_ptr->sign, st0_sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 1160 | drivers/FPU-emu/fpu_trig.c | if ( ((FPU_st0_ptr->exp <= EXP_UNDER) || |
FPU_st0_ptr | 1170 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign = FPU_st0_ptr->sign = SIGN_POS; |
FPU_st0_ptr | 1174 | drivers/FPU-emu/fpu_trig.c | reg_div(FPU_st0_ptr, st1_ptr, &sum, FULL_PRECISION); |
FPU_st0_ptr | 1180 | drivers/FPU-emu/fpu_trig.c | (st1_ptr->exp - FPU_st0_ptr->exp < -64) ) |
FPU_st0_ptr | 1184 | drivers/FPU-emu/fpu_trig.c | reg_div(st1_ptr, FPU_st0_ptr, st1_ptr, |
FPU_st0_ptr | 1191 | drivers/FPU-emu/fpu_trig.c | reg_div(st1_ptr, FPU_st0_ptr, &sum, FULL_PRECISION); |
FPU_st0_ptr | 1219 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr) ) |
FPU_st0_ptr | 1230 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_POS ) |
FPU_st0_ptr | 1245 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_POS ) |
FPU_st0_ptr | 1262 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 1279 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 1284 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_POS ) |
FPU_st0_ptr | 1336 | drivers/FPU-emu/fpu_trig.c | if ( ((FPU_st0_ptr->exp <= EXP_UNDER) || |
FPU_st0_ptr | 1346 | drivers/FPU-emu/fpu_trig.c | if ( poly_l2p1(FPU_st0_ptr, FPU_st0_ptr) ) |
FPU_st0_ptr | 1365 | drivers/FPU-emu/fpu_trig.c | reg_mul(FPU_st0_ptr, st1_ptr, st1_ptr, FULL_PRECISION); |
FPU_st0_ptr | 1384 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign ^= st1_ptr->sign; |
FPU_st0_ptr | 1385 | drivers/FPU-emu/fpu_trig.c | reg_move(FPU_st0_ptr, st1_ptr); |
FPU_st0_ptr | 1396 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr) ) |
FPU_st0_ptr | 1413 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_NEG ) |
FPU_st0_ptr | 1415 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp >= EXP_BIAS ) |
FPU_st0_ptr | 1426 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 1433 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 1440 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_NEG ) |
FPU_st0_ptr | 1442 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp >= EXP_BIAS) && |
FPU_st0_ptr | 1443 | drivers/FPU-emu/fpu_trig.c | !((FPU_st0_ptr->sigh == 0x80000000) && |
FPU_st0_ptr | 1444 | drivers/FPU-emu/fpu_trig.c | (FPU_st0_ptr->sigl == 0)) ) |
FPU_st0_ptr | 1455 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 1462 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 1469 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr) ) |
FPU_st0_ptr | 1476 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr) ) |
FPU_st0_ptr | 1484 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr) ) |
FPU_st0_ptr | 1488 | drivers/FPU-emu/fpu_trig.c | else if ( FPU_st0_ptr->sign == SIGN_NEG ) |
FPU_st0_ptr | 1549 | drivers/FPU-emu/fpu_trig.c | char sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 1558 | drivers/FPU-emu/fpu_trig.c | if ( ((FPU_st0_ptr->exp <= EXP_UNDER) || |
FPU_st0_ptr | 1571 | drivers/FPU-emu/fpu_trig.c | sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 1572 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_INF, FPU_st0_ptr); |
FPU_st0_ptr | 1573 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
FPU_st0_ptr | 1578 | drivers/FPU-emu/fpu_trig.c | sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 1579 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_Z, FPU_st0_ptr); |
FPU_st0_ptr | 1580 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
FPU_st0_ptr | 1591 | drivers/FPU-emu/fpu_trig.c | scale += FPU_st0_ptr->exp; |
FPU_st0_ptr | 1592 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->exp = scale; |
FPU_st0_ptr | 1595 | drivers/FPU-emu/fpu_trig.c | round_reg(FPU_st0_ptr, 0, control_word); |
FPU_st0_ptr | 1605 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 1614 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 1619 | drivers/FPU-emu/fpu_trig.c | { reg_move(&CONST_INF, FPU_st0_ptr); } |
FPU_st0_ptr | 1621 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_Z, FPU_st0_ptr); |
FPU_st0_ptr | 1622 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
FPU_st0_ptr | 1626 | drivers/FPU-emu/fpu_trig.c | { real_2op_NaN(FPU_st0_ptr, st1_ptr, FPU_st0_ptr); return; } |
FPU_st0_ptr | 1647 | drivers/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); /* Zero scaled by +Infinity */ |
FPU_st0_ptr | 1652 | drivers/FPU-emu/fpu_trig.c | { real_2op_NaN(FPU_st0_ptr, st1_ptr, FPU_st0_ptr); return; } |
FPU_st0_ptr | 1671 | drivers/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); /* Infinity scaled by -Infinity */ |
FPU_st0_ptr | 1675 | drivers/FPU-emu/fpu_trig.c | { real_2op_NaN(FPU_st0_ptr, st1_ptr, FPU_st0_ptr); return; } |
FPU_st0_ptr | 1680 | drivers/FPU-emu/fpu_trig.c | { real_2op_NaN(FPU_st0_ptr, st1_ptr, FPU_st0_ptr); return; } |
FPU_st0_ptr | 63 | drivers/FPU-emu/load_store.c | FPU_st0_ptr = pop_ptr; /* Set the global variables. */ |
FPU_st0_ptr | 64 | drivers/FPU-emu/load_store.c | FPU_st0_tag = FPU_st0_ptr->tag; |
FPU_st0_ptr | 28 | drivers/FPU-emu/reg_compare.c | if ( FPU_st0_ptr->tag | b->tag ) |
FPU_st0_ptr | 30 | drivers/FPU-emu/reg_compare.c | if ( FPU_st0_ptr->tag == TW_Zero ) |
FPU_st0_ptr | 45 | drivers/FPU-emu/reg_compare.c | if ( FPU_st0_ptr->tag == TW_Valid ) |
FPU_st0_ptr | 47 | drivers/FPU-emu/reg_compare.c | return ((FPU_st0_ptr->sign == SIGN_POS) ? COMP_A_gt_B |
FPU_st0_ptr | 50 | drivers/FPU-emu/reg_compare.c | | ((FPU_st0_ptr->exp <= EXP_UNDER ) |
FPU_st0_ptr | 57 | drivers/FPU-emu/reg_compare.c | if ( FPU_st0_ptr->tag == TW_Infinity ) |
FPU_st0_ptr | 61 | drivers/FPU-emu/reg_compare.c | return ((FPU_st0_ptr->sign == SIGN_POS) ? COMP_A_gt_B |
FPU_st0_ptr | 72 | drivers/FPU-emu/reg_compare.c | return (FPU_st0_ptr->sign == b->sign) ? COMP_A_eq_B : |
FPU_st0_ptr | 73 | drivers/FPU-emu/reg_compare.c | ((FPU_st0_ptr->sign == SIGN_POS) ? COMP_A_gt_B : COMP_A_lt_B); |
FPU_st0_ptr | 79 | drivers/FPU-emu/reg_compare.c | if ( (FPU_st0_ptr->tag == TW_Valid) || (FPU_st0_ptr->tag == TW_Zero) ) |
FPU_st0_ptr | 83 | drivers/FPU-emu/reg_compare.c | | (((FPU_st0_ptr->tag == TW_Valid) |
FPU_st0_ptr | 84 | drivers/FPU-emu/reg_compare.c | && (FPU_st0_ptr->exp <= EXP_UNDER)) ? |
FPU_st0_ptr | 94 | drivers/FPU-emu/reg_compare.c | if ( (FPU_st0_ptr->tag == TW_NaN) || (b->tag == TW_NaN) ) |
FPU_st0_ptr | 96 | drivers/FPU-emu/reg_compare.c | if ( ((FPU_st0_ptr->tag == TW_NaN) && !(FPU_st0_ptr->sigh & 0x40000000)) |
FPU_st0_ptr | 109 | drivers/FPU-emu/reg_compare.c | if (!(FPU_st0_ptr->sigh & 0x80000000)) EXCEPTION(EX_Invalid); |
FPU_st0_ptr | 114 | drivers/FPU-emu/reg_compare.c | if (FPU_st0_ptr->sign != b->sign) |
FPU_st0_ptr | 116 | drivers/FPU-emu/reg_compare.c | return ((FPU_st0_ptr->sign == SIGN_POS) ? COMP_A_gt_B : COMP_A_lt_B) |
FPU_st0_ptr | 119 | drivers/FPU-emu/reg_compare.c | ( ((FPU_st0_ptr->exp <= EXP_UNDER) || (b->exp <= EXP_UNDER)) ? |
FPU_st0_ptr | 125 | drivers/FPU-emu/reg_compare.c | diff = FPU_st0_ptr->exp - b->exp; |
FPU_st0_ptr | 128 | drivers/FPU-emu/reg_compare.c | diff = FPU_st0_ptr->sigh - b->sigh; /* Works only if ms bits are |
FPU_st0_ptr | 132 | drivers/FPU-emu/reg_compare.c | diff = FPU_st0_ptr->sigl > b->sigl; |
FPU_st0_ptr | 134 | drivers/FPU-emu/reg_compare.c | diff = -(FPU_st0_ptr->sigl < b->sigl); |
FPU_st0_ptr | 140 | drivers/FPU-emu/reg_compare.c | return ((FPU_st0_ptr->sign == SIGN_POS) ? COMP_A_gt_B : COMP_A_lt_B) |
FPU_st0_ptr | 143 | drivers/FPU-emu/reg_compare.c | ( ((FPU_st0_ptr->exp <= EXP_UNDER) || (b->exp <= EXP_UNDER)) ? |
FPU_st0_ptr | 150 | drivers/FPU-emu/reg_compare.c | return ((FPU_st0_ptr->sign == SIGN_POS) ? COMP_A_lt_B : COMP_A_gt_B) |
FPU_st0_ptr | 153 | drivers/FPU-emu/reg_compare.c | ( ((FPU_st0_ptr->exp <= EXP_UNDER) || (b->exp <= EXP_UNDER)) ? |
FPU_st0_ptr | 162 | drivers/FPU-emu/reg_compare.c | ( ((FPU_st0_ptr->exp <= EXP_UNDER) || (b->exp <= EXP_UNDER)) ? |
FPU_st0_ptr | 344 | drivers/FPU-emu/reg_compare.c | pop(); FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 373 | drivers/FPU-emu/reg_compare.c | pop(); FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 69 | drivers/FPU-emu/reg_constant.c | reg_move(c, FPU_st0_ptr); |
FPU_st0_ptr | 442 | drivers/FPU-emu/reg_ld_str.c | write_to_extended(FPU_st0_ptr, (char *) FPU_data_address); |
FPU_st0_ptr | 478 | drivers/FPU-emu/reg_ld_str.c | reg_move(FPU_st0_ptr, &tmp); |
FPU_st0_ptr | 489 | drivers/FPU-emu/reg_ld_str.c | if ( FPU_st0_ptr->exp <= EXP_UNDER ) |
FPU_st0_ptr | 507 | drivers/FPU-emu/reg_ld_str.c | (FPU_st0_ptr->sigl & 0x000007ff)) ) |
FPU_st0_ptr | 618 | drivers/FPU-emu/reg_ld_str.c | l[0] = (FPU_st0_ptr->sigl >> 11) | (FPU_st0_ptr->sigh << 21); |
FPU_st0_ptr | 619 | drivers/FPU-emu/reg_ld_str.c | l[1] = ((FPU_st0_ptr->sigh >> 11) & 0xfffff); |
FPU_st0_ptr | 620 | drivers/FPU-emu/reg_ld_str.c | if ( !(FPU_st0_ptr->sigh & 0x40000000) ) |
FPU_st0_ptr | 648 | drivers/FPU-emu/reg_ld_str.c | if (FPU_st0_ptr->sign) |
FPU_st0_ptr | 673 | drivers/FPU-emu/reg_ld_str.c | reg_move(FPU_st0_ptr, &tmp); |
FPU_st0_ptr | 684 | drivers/FPU-emu/reg_ld_str.c | if ( FPU_st0_ptr->exp <= EXP_UNDER ) |
FPU_st0_ptr | 702 | drivers/FPU-emu/reg_ld_str.c | ((FPU_st0_ptr->sigh & 0x000000ff) || FPU_st0_ptr->sigl)) ) |
FPU_st0_ptr | 803 | drivers/FPU-emu/reg_ld_str.c | templ = FPU_st0_ptr->sigh >> 8; |
FPU_st0_ptr | 804 | drivers/FPU-emu/reg_ld_str.c | if ( !(FPU_st0_ptr->sigh & 0x40000000) ) |
FPU_st0_ptr | 838 | drivers/FPU-emu/reg_ld_str.c | if (FPU_st0_ptr->sign) |
FPU_st0_ptr | 871 | drivers/FPU-emu/reg_ld_str.c | reg_move(FPU_st0_ptr, &t); |
FPU_st0_ptr | 929 | drivers/FPU-emu/reg_ld_str.c | reg_move(FPU_st0_ptr, &t); |
FPU_st0_ptr | 983 | drivers/FPU-emu/reg_ld_str.c | reg_move(FPU_st0_ptr, &t); |
FPU_st0_ptr | 1025 | drivers/FPU-emu/reg_ld_str.c | unsigned char sign = (FPU_st0_ptr->sign == SIGN_NEG) ? 0x80 : 0; |
FPU_st0_ptr | 1034 | drivers/FPU-emu/reg_ld_str.c | reg_move(FPU_st0_ptr, &t); |