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