tag | line | file | source code |
FPU_st0_ptr | 586 | drivers/FPU-emu/errors.c | reg_move(&CONST_QNaN, FPU_st0_ptr = &st(0)); |
FPU_st0_ptr | 602 | 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 | 139 | drivers/FPU-emu/fpu_aux.c | reg_move(sti_ptr, FPU_st0_ptr); /* Masked response */ |
FPU_st0_ptr | 146 | drivers/FPU-emu/fpu_aux.c | reg_move(FPU_st0_ptr, sti_ptr); /* Masked response */ |
FPU_st0_ptr | 151 | drivers/FPU-emu/fpu_aux.c | reg_move(FPU_st0_ptr, &t); |
FPU_st0_ptr | 152 | drivers/FPU-emu/fpu_aux.c | reg_move(sti_ptr, FPU_st0_ptr); |
FPU_st0_ptr | 175 | drivers/FPU-emu/fpu_aux.c | reg_move(FPU_st0_ptr, &st(FPU_rm)); |
FPU_st0_ptr | 182 | drivers/FPU-emu/fpu_aux.c | reg_move(FPU_st0_ptr, &st(FPU_rm)); |
FPU_st0_ptr | 119 | drivers/FPU-emu/fpu_emu.h | extern FPU_REG *FPU_st0_ptr; |
FPU_st0_ptr | 128 | drivers/FPU-emu/fpu_emu.h | #define pop() { FPU_st0_ptr->tag = TW_Empty; top++; } |
FPU_st0_ptr | 131 | drivers/FPU-emu/fpu_emu.h | #define push() { top--; FPU_st0_ptr = st_new_ptr; } |
FPU_st0_ptr | 129 | drivers/FPU-emu/fpu_entry.c | FPU_REG *FPU_st0_ptr; |
FPU_st0_ptr | 313 | drivers/FPU-emu/fpu_entry.c | FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 314 | drivers/FPU-emu/fpu_entry.c | FPU_st0_tag = FPU_st0_ptr->tag; |
FPU_st0_ptr | 338 | drivers/FPU-emu/fpu_entry.c | FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 339 | drivers/FPU-emu/fpu_entry.c | FPU_st0_tag = FPU_st0_ptr->tag; |
FPU_st0_ptr | 365 | drivers/FPU-emu/fpu_entry.c | real_2op_NaN(&FPU_loaded_data, FPU_st0_ptr, |
FPU_st0_ptr | 366 | drivers/FPU-emu/fpu_entry.c | FPU_st0_ptr); |
FPU_st0_ptr | 370 | drivers/FPU-emu/fpu_entry.c | real_2op_NaN(FPU_st0_ptr, &FPU_loaded_data, |
FPU_st0_ptr | 371 | drivers/FPU-emu/fpu_entry.c | FPU_st0_ptr); |
FPU_st0_ptr | 386 | drivers/FPU-emu/fpu_entry.c | FPU_st0_ptr) ) |
FPU_st0_ptr | 404 | drivers/FPU-emu/fpu_entry.c | reg_add(FPU_st0_ptr, &FPU_loaded_data, FPU_st0_ptr, |
FPU_st0_ptr | 409 | drivers/FPU-emu/fpu_entry.c | reg_mul(FPU_st0_ptr, &FPU_loaded_data, FPU_st0_ptr, |
FPU_st0_ptr | 421 | drivers/FPU-emu/fpu_entry.c | reg_sub(FPU_st0_ptr, &FPU_loaded_data, FPU_st0_ptr, |
FPU_st0_ptr | 426 | drivers/FPU-emu/fpu_entry.c | reg_sub(&FPU_loaded_data, FPU_st0_ptr, FPU_st0_ptr, |
FPU_st0_ptr | 431 | drivers/FPU-emu/fpu_entry.c | reg_div(FPU_st0_ptr, &FPU_loaded_data, FPU_st0_ptr, |
FPU_st0_ptr | 439 | drivers/FPU-emu/fpu_entry.c | reg_div(&FPU_loaded_data, FPU_st0_ptr, FPU_st0_ptr, |
FPU_st0_ptr | 482 | drivers/FPU-emu/fpu_entry.c | FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 483 | 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 | 174 | drivers/FPU-emu/fpu_trig.c | if ( !(FPU_st0_ptr->sigh & 0x40000000) ) /* Signaling ? */ |
FPU_st0_ptr | 178 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sigh |= 0x40000000; /* Convert to a QNaN */ |
FPU_st0_ptr | 199 | drivers/FPU-emu/fpu_trig.c | if ( !(FPU_st0_ptr->sigh & 0x40000000) ) /* Signaling ? */ |
FPU_st0_ptr | 206 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sigh |= 0x40000000; |
FPU_st0_ptr | 209 | drivers/FPU-emu/fpu_trig.c | reg_move(&st(1), FPU_st0_ptr); |
FPU_st0_ptr | 217 | drivers/FPU-emu/fpu_trig.c | reg_move(&st(1), FPU_st0_ptr); |
FPU_st0_ptr | 239 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp >= 0 ) |
FPU_st0_ptr | 243 | drivers/FPU-emu/fpu_trig.c | else if ( FPU_st0_ptr->exp >= -64 ) |
FPU_st0_ptr | 245 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_POS ) |
FPU_st0_ptr | 248 | drivers/FPU-emu/fpu_trig.c | poly_2xm1(FPU_st0_ptr, &rv); |
FPU_st0_ptr | 249 | drivers/FPU-emu/fpu_trig.c | reg_mul(&rv, FPU_st0_ptr, FPU_st0_ptr, FULL_PRECISION); |
FPU_st0_ptr | 256 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_POS; |
FPU_st0_ptr | 257 | drivers/FPU-emu/fpu_trig.c | poly_2xm1(FPU_st0_ptr, &rv); |
FPU_st0_ptr | 258 | drivers/FPU-emu/fpu_trig.c | reg_mul(&rv, FPU_st0_ptr, &rv, FULL_PRECISION); |
FPU_st0_ptr | 260 | drivers/FPU-emu/fpu_trig.c | reg_div(&rv, &tmp, FPU_st0_ptr, FULL_PRECISION); |
FPU_st0_ptr | 261 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_NEG; |
FPU_st0_ptr | 267 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 271 | drivers/FPU-emu/fpu_trig.c | reg_mul(&CONST_LN2, FPU_st0_ptr, FPU_st0_ptr, FULL_PRECISION); |
FPU_st0_ptr | 279 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_NEG ) |
FPU_st0_ptr | 282 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_1, FPU_st0_ptr); |
FPU_st0_ptr | 283 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_NEG; |
FPU_st0_ptr | 296 | drivers/FPU-emu/fpu_trig.c | char arg_sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 318 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp > EXP_BIAS - 40 ) |
FPU_st0_ptr | 320 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_POS; |
FPU_st0_ptr | 321 | drivers/FPU-emu/fpu_trig.c | if ( (q = trig_arg(FPU_st0_ptr, FPTAN)) != -1 ) |
FPU_st0_ptr | 323 | drivers/FPU-emu/fpu_trig.c | reg_div(FPU_st0_ptr, &CONST_PI2, FPU_st0_ptr, |
FPU_st0_ptr | 325 | drivers/FPU-emu/fpu_trig.c | poly_tan(FPU_st0_ptr, FPU_st0_ptr, q & FCOS); |
FPU_st0_ptr | 326 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = (q & 1) ^ arg_sign; |
FPU_st0_ptr | 331 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = arg_sign; /* restore st(0) */ |
FPU_st0_ptr | 340 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp <= EXP_UNDER ) |
FPU_st0_ptr | 349 | drivers/FPU-emu/fpu_trig.c | if ( arith_underflow(FPU_st0_ptr) ) |
FPU_st0_ptr | 356 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_1, FPU_st0_ptr); |
FPU_st0_ptr | 361 | drivers/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); |
FPU_st0_ptr | 366 | drivers/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); |
FPU_st0_ptr | 371 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_1, FPU_st0_ptr); |
FPU_st0_ptr | 384 | drivers/FPU-emu/fpu_trig.c | register FPU_REG *st1_ptr = FPU_st0_ptr; /* anticipate */ |
FPU_st0_ptr | 394 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 399 | drivers/FPU-emu/fpu_trig.c | reg_move(st1_ptr, FPU_st0_ptr); |
FPU_st0_ptr | 400 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->exp = EXP_BIAS; |
FPU_st0_ptr | 407 | drivers/FPU-emu/fpu_trig.c | char sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 408 | drivers/FPU-emu/fpu_trig.c | if ( divide_by_zero(SIGN_NEG, FPU_st0_ptr) ) |
FPU_st0_ptr | 411 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_Z, FPU_st0_ptr); |
FPU_st0_ptr | 412 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
FPU_st0_ptr | 417 | drivers/FPU-emu/fpu_trig.c | char sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 418 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_POS; |
FPU_st0_ptr | 420 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_INF, FPU_st0_ptr); |
FPU_st0_ptr | 421 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
FPU_st0_ptr | 426 | drivers/FPU-emu/fpu_trig.c | if ( real_2op_NaN(FPU_st0_ptr, FPU_st0_ptr, FPU_st0_ptr) ) |
FPU_st0_ptr | 429 | drivers/FPU-emu/fpu_trig.c | reg_move(st1_ptr, FPU_st0_ptr); |
FPU_st0_ptr | 471 | drivers/FPU-emu/fpu_trig.c | if (FPU_st0_ptr->sign == SIGN_NEG) |
FPU_st0_ptr | 473 | drivers/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); /* sqrt(negative) is invalid */ |
FPU_st0_ptr | 478 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 482 | drivers/FPU-emu/fpu_trig.c | expon = FPU_st0_ptr->exp - EXP_BIAS; |
FPU_st0_ptr | 483 | 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 | 485 | drivers/FPU-emu/fpu_trig.c | wm_sqrt(FPU_st0_ptr, control_word); /* Do the computation */ |
FPU_st0_ptr | 487 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->exp += expon >> 1; |
FPU_st0_ptr | 488 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_POS; |
FPU_st0_ptr | 494 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_NEG ) |
FPU_st0_ptr | 495 | drivers/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); /* sqrt(-Infinity) is invalid */ |
FPU_st0_ptr | 510 | drivers/FPU-emu/fpu_trig.c | if (FPU_st0_ptr->exp > EXP_BIAS+63) |
FPU_st0_ptr | 514 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 519 | drivers/FPU-emu/fpu_trig.c | if ( (flags = round_to_int(FPU_st0_ptr)) ) |
FPU_st0_ptr | 522 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->exp = EXP_BIAS + 63; |
FPU_st0_ptr | 523 | drivers/FPU-emu/fpu_trig.c | normalize(FPU_st0_ptr); |
FPU_st0_ptr | 535 | drivers/FPU-emu/fpu_trig.c | char arg_sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 542 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp > EXP_BIAS - 40 ) |
FPU_st0_ptr | 544 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_POS; |
FPU_st0_ptr | 545 | drivers/FPU-emu/fpu_trig.c | if ( (q = trig_arg(FPU_st0_ptr, 0)) != -1 ) |
FPU_st0_ptr | 547 | drivers/FPU-emu/fpu_trig.c | reg_div(FPU_st0_ptr, &CONST_PI2, FPU_st0_ptr, FULL_PRECISION); |
FPU_st0_ptr | 549 | drivers/FPU-emu/fpu_trig.c | poly_sine(FPU_st0_ptr, &rv); |
FPU_st0_ptr | 554 | drivers/FPU-emu/fpu_trig.c | reg_move(&rv, FPU_st0_ptr); |
FPU_st0_ptr | 563 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = arg_sign; /* restore st(0) */ |
FPU_st0_ptr | 572 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp <= EXP_UNDER ) |
FPU_st0_ptr | 581 | drivers/FPU-emu/fpu_trig.c | arith_underflow(FPU_st0_ptr); |
FPU_st0_ptr | 596 | drivers/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); |
FPU_st0_ptr | 664 | drivers/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); |
FPU_st0_ptr | 677 | drivers/FPU-emu/fpu_trig.c | f_cos(FPU_st0_ptr); |
FPU_st0_ptr | 710 | drivers/FPU-emu/fpu_trig.c | if ( !arith_invalid(FPU_st0_ptr) ) |
FPU_st0_ptr | 714 | drivers/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); |
FPU_st0_ptr | 719 | drivers/FPU-emu/fpu_trig.c | reg_move(FPU_st0_ptr,&arg); |
FPU_st0_ptr | 724 | drivers/FPU-emu/fpu_trig.c | reg_move(&arg,FPU_st0_ptr); |
FPU_st0_ptr | 767 | drivers/FPU-emu/fpu_trig.c | char sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 773 | drivers/FPU-emu/fpu_trig.c | int expdif = FPU_st0_ptr->exp - st1_ptr->exp; |
FPU_st0_ptr | 779 | drivers/FPU-emu/fpu_trig.c | if ( ((FPU_st0_ptr->exp <= EXP_UNDER) || |
FPU_st0_ptr | 796 | drivers/FPU-emu/fpu_trig.c | reg_div(FPU_st0_ptr, st1_ptr, &tmp, PR_64_BITS | RC_CHOP | 0x3f); |
FPU_st0_ptr | 804 | drivers/FPU-emu/fpu_trig.c | rem_kernel(significand(FPU_st0_ptr), |
FPU_st0_ptr | 813 | drivers/FPU-emu/fpu_trig.c | reg_move(FPU_st0_ptr, &tmp); |
FPU_st0_ptr | 861 | drivers/FPU-emu/fpu_trig.c | reg_move(FPU_st0_ptr, &tmp); |
FPU_st0_ptr | 871 | drivers/FPU-emu/fpu_trig.c | rem_kernel(significand(FPU_st0_ptr), |
FPU_st0_ptr | 890 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_Z, FPU_st0_ptr); |
FPU_st0_ptr | 891 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
FPU_st0_ptr | 905 | drivers/FPU-emu/fpu_trig.c | reg_move(&tmp, FPU_st0_ptr); |
FPU_st0_ptr | 910 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (FPU_st0_ptr->tag != TW_Zero) |
FPU_st0_ptr | 912 | drivers/FPU-emu/fpu_trig.c | arith_underflow(FPU_st0_ptr); |
FPU_st0_ptr | 933 | drivers/FPU-emu/fpu_trig.c | { arith_invalid(FPU_st0_ptr); return; } /* fprem(?,0) always invalid */ |
FPU_st0_ptr | 941 | drivers/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); /* fprem(Valid,Zero) is invalid */ |
FPU_st0_ptr | 947 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 962 | drivers/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); /* fprem(Infinity,?) is invalid */ |
FPU_st0_ptr | 974 | drivers/FPU-emu/fpu_trig.c | real_2op_NaN(st1_ptr, FPU_st0_ptr, FPU_st0_ptr); |
FPU_st0_ptr | 988 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_POS ) |
FPU_st0_ptr | 993 | drivers/FPU-emu/fpu_trig.c | if ( ((FPU_st0_ptr->exp <= EXP_UNDER) || |
FPU_st0_ptr | 1004 | drivers/FPU-emu/fpu_trig.c | poly_l2(FPU_st0_ptr, FPU_st0_ptr); |
FPU_st0_ptr | 1011 | drivers/FPU-emu/fpu_trig.c | reg_mul(FPU_st0_ptr, st1_ptr, st1_ptr, FULL_PRECISION); |
FPU_st0_ptr | 1013 | drivers/FPU-emu/fpu_trig.c | pop(); FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 1030 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr) ) |
FPU_st0_ptr | 1049 | drivers/FPU-emu/fpu_trig.c | else if ( FPU_st0_ptr->tag == TW_Infinity ) |
FPU_st0_ptr | 1068 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_NEG ) |
FPU_st0_ptr | 1077 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 1081 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp < EXP_BIAS ) sign ^= SIGN_NEG^SIGN_POS; |
FPU_st0_ptr | 1082 | drivers/FPU-emu/fpu_trig.c | pop(); FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 1083 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_Z, FPU_st0_ptr); |
FPU_st0_ptr | 1084 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
FPU_st0_ptr | 1091 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->sign == SIGN_NEG) || (st1_tag == TW_Zero) ) |
FPU_st0_ptr | 1107 | drivers/FPU-emu/fpu_trig.c | pop(); FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 1108 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_INF, FPU_st0_ptr); |
FPU_st0_ptr | 1109 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
FPU_st0_ptr | 1114 | drivers/FPU-emu/fpu_trig.c | else if ( (FPU_st0_tag == TW_Valid) && (FPU_st0_ptr->sign == SIGN_POS) ) |
FPU_st0_ptr | 1116 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp >= EXP_BIAS ) |
FPU_st0_ptr | 1118 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp == EXP_BIAS) && |
FPU_st0_ptr | 1119 | drivers/FPU-emu/fpu_trig.c | (FPU_st0_ptr->sigh == 0x80000000) && |
FPU_st0_ptr | 1120 | drivers/FPU-emu/fpu_trig.c | (FPU_st0_ptr->sigl == 0) ) |
FPU_st0_ptr | 1136 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 1148 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->tag == TW_Zero ) |
FPU_st0_ptr | 1174 | drivers/FPU-emu/fpu_trig.c | char st1_sign = st1_ptr->sign, st0_sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 1184 | drivers/FPU-emu/fpu_trig.c | if ( ((FPU_st0_ptr->exp <= EXP_UNDER) || |
FPU_st0_ptr | 1194 | drivers/FPU-emu/fpu_trig.c | st1_ptr->sign = FPU_st0_ptr->sign = SIGN_POS; |
FPU_st0_ptr | 1198 | drivers/FPU-emu/fpu_trig.c | reg_div(FPU_st0_ptr, st1_ptr, &sum, FULL_PRECISION); |
FPU_st0_ptr | 1204 | drivers/FPU-emu/fpu_trig.c | (st1_ptr->exp - FPU_st0_ptr->exp < -64) ) |
FPU_st0_ptr | 1208 | drivers/FPU-emu/fpu_trig.c | reg_div(st1_ptr, FPU_st0_ptr, st1_ptr, |
FPU_st0_ptr | 1215 | drivers/FPU-emu/fpu_trig.c | reg_div(st1_ptr, FPU_st0_ptr, &sum, FULL_PRECISION); |
FPU_st0_ptr | 1243 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr) ) |
FPU_st0_ptr | 1254 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_POS ) |
FPU_st0_ptr | 1269 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_POS ) |
FPU_st0_ptr | 1286 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 1303 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 1308 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_POS ) |
FPU_st0_ptr | 1360 | drivers/FPU-emu/fpu_trig.c | if ( ((FPU_st0_ptr->exp <= EXP_UNDER) || |
FPU_st0_ptr | 1370 | drivers/FPU-emu/fpu_trig.c | if ( poly_l2p1(FPU_st0_ptr, FPU_st0_ptr) ) |
FPU_st0_ptr | 1389 | drivers/FPU-emu/fpu_trig.c | reg_mul(FPU_st0_ptr, st1_ptr, st1_ptr, FULL_PRECISION); |
FPU_st0_ptr | 1408 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign ^= st1_ptr->sign; |
FPU_st0_ptr | 1409 | drivers/FPU-emu/fpu_trig.c | reg_move(FPU_st0_ptr, st1_ptr); |
FPU_st0_ptr | 1420 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr) ) |
FPU_st0_ptr | 1437 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_NEG ) |
FPU_st0_ptr | 1439 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp >= EXP_BIAS ) |
FPU_st0_ptr | 1450 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 1457 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 1464 | drivers/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_NEG ) |
FPU_st0_ptr | 1466 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp >= EXP_BIAS) && |
FPU_st0_ptr | 1467 | drivers/FPU-emu/fpu_trig.c | !((FPU_st0_ptr->sigh == 0x80000000) && |
FPU_st0_ptr | 1468 | drivers/FPU-emu/fpu_trig.c | (FPU_st0_ptr->sigl == 0)) ) |
FPU_st0_ptr | 1479 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 1486 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 1493 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr) ) |
FPU_st0_ptr | 1500 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr) ) |
FPU_st0_ptr | 1508 | drivers/FPU-emu/fpu_trig.c | if ( !real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr) ) |
FPU_st0_ptr | 1512 | drivers/FPU-emu/fpu_trig.c | else if ( FPU_st0_ptr->sign == SIGN_NEG ) |
FPU_st0_ptr | 1573 | drivers/FPU-emu/fpu_trig.c | char sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 1582 | drivers/FPU-emu/fpu_trig.c | if ( ((FPU_st0_ptr->exp <= EXP_UNDER) || |
FPU_st0_ptr | 1595 | drivers/FPU-emu/fpu_trig.c | sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 1596 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_INF, FPU_st0_ptr); |
FPU_st0_ptr | 1597 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
FPU_st0_ptr | 1602 | drivers/FPU-emu/fpu_trig.c | sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 1603 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_Z, FPU_st0_ptr); |
FPU_st0_ptr | 1604 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
FPU_st0_ptr | 1615 | drivers/FPU-emu/fpu_trig.c | scale += FPU_st0_ptr->exp; |
FPU_st0_ptr | 1616 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->exp = scale; |
FPU_st0_ptr | 1619 | drivers/FPU-emu/fpu_trig.c | round_reg(FPU_st0_ptr, 0, control_word); |
FPU_st0_ptr | 1629 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 1638 | drivers/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp <= EXP_UNDER) && (denormal_operand()) ) |
FPU_st0_ptr | 1643 | drivers/FPU-emu/fpu_trig.c | { reg_move(&CONST_INF, FPU_st0_ptr); } |
FPU_st0_ptr | 1645 | drivers/FPU-emu/fpu_trig.c | reg_move(&CONST_Z, FPU_st0_ptr); |
FPU_st0_ptr | 1646 | drivers/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
FPU_st0_ptr | 1650 | 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); /* Zero scaled by +Infinity */ |
FPU_st0_ptr | 1676 | drivers/FPU-emu/fpu_trig.c | { real_2op_NaN(FPU_st0_ptr, st1_ptr, FPU_st0_ptr); return; } |
FPU_st0_ptr | 1695 | drivers/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); /* Infinity scaled by -Infinity */ |
FPU_st0_ptr | 1699 | drivers/FPU-emu/fpu_trig.c | { real_2op_NaN(FPU_st0_ptr, st1_ptr, FPU_st0_ptr); return; } |
FPU_st0_ptr | 1704 | 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 | 453 | drivers/FPU-emu/reg_ld_str.c | write_to_extended(FPU_st0_ptr, (char *) FPU_data_address); |
FPU_st0_ptr | 489 | drivers/FPU-emu/reg_ld_str.c | reg_move(FPU_st0_ptr, &tmp); |
FPU_st0_ptr | 500 | drivers/FPU-emu/reg_ld_str.c | if ( FPU_st0_ptr->exp <= EXP_UNDER ) |
FPU_st0_ptr | 518 | drivers/FPU-emu/reg_ld_str.c | (FPU_st0_ptr->sigl & 0x000007ff)) ) |
FPU_st0_ptr | 629 | drivers/FPU-emu/reg_ld_str.c | l[0] = (FPU_st0_ptr->sigl >> 11) | (FPU_st0_ptr->sigh << 21); |
FPU_st0_ptr | 630 | drivers/FPU-emu/reg_ld_str.c | l[1] = ((FPU_st0_ptr->sigh >> 11) & 0xfffff); |
FPU_st0_ptr | 631 | drivers/FPU-emu/reg_ld_str.c | if ( !(FPU_st0_ptr->sigh & 0x40000000) ) |
FPU_st0_ptr | 659 | drivers/FPU-emu/reg_ld_str.c | if (FPU_st0_ptr->sign) |
FPU_st0_ptr | 684 | drivers/FPU-emu/reg_ld_str.c | reg_move(FPU_st0_ptr, &tmp); |
FPU_st0_ptr | 695 | drivers/FPU-emu/reg_ld_str.c | if ( FPU_st0_ptr->exp <= EXP_UNDER ) |
FPU_st0_ptr | 713 | drivers/FPU-emu/reg_ld_str.c | ((FPU_st0_ptr->sigh & 0x000000ff) || FPU_st0_ptr->sigl)) ) |
FPU_st0_ptr | 814 | drivers/FPU-emu/reg_ld_str.c | templ = FPU_st0_ptr->sigh >> 8; |
FPU_st0_ptr | 815 | drivers/FPU-emu/reg_ld_str.c | if ( !(FPU_st0_ptr->sigh & 0x40000000) ) |
FPU_st0_ptr | 849 | drivers/FPU-emu/reg_ld_str.c | if (FPU_st0_ptr->sign) |
FPU_st0_ptr | 882 | drivers/FPU-emu/reg_ld_str.c | reg_move(FPU_st0_ptr, &t); |
FPU_st0_ptr | 940 | drivers/FPU-emu/reg_ld_str.c | reg_move(FPU_st0_ptr, &t); |
FPU_st0_ptr | 994 | drivers/FPU-emu/reg_ld_str.c | reg_move(FPU_st0_ptr, &t); |
FPU_st0_ptr | 1036 | drivers/FPU-emu/reg_ld_str.c | unsigned char sign = (FPU_st0_ptr->sign == SIGN_NEG) ? 0x80 : 0; |
FPU_st0_ptr | 1045 | drivers/FPU-emu/reg_ld_str.c | reg_move(FPU_st0_ptr, &t); |