tag | line | file | source code |
FPU_st0_ptr | 415 | kernel/FPU-emu/errors.c | reg_move(&CONST_QNaN, FPU_st0_ptr = &st(0)); |
FPU_st0_ptr | 431 | kernel/FPU-emu/errors.c | reg_move(&CONST_QNaN, FPU_st0_ptr); |
FPU_st0_ptr | 21 | kernel/FPU-emu/fpu_arith.c | reg_add(FPU_st0_ptr, &st(FPU_rm), FPU_st0_ptr, control_word); |
FPU_st0_ptr | 28 | kernel/FPU-emu/fpu_arith.c | reg_mul(FPU_st0_ptr, &st(FPU_rm), FPU_st0_ptr, control_word); |
FPU_st0_ptr | 36 | kernel/FPU-emu/fpu_arith.c | reg_sub(FPU_st0_ptr, &st(FPU_rm), FPU_st0_ptr, control_word); |
FPU_st0_ptr | 43 | kernel/FPU-emu/fpu_arith.c | reg_sub(&st(FPU_rm), FPU_st0_ptr, FPU_st0_ptr, control_word); |
FPU_st0_ptr | 50 | kernel/FPU-emu/fpu_arith.c | reg_div(FPU_st0_ptr, &st(FPU_rm), FPU_st0_ptr, control_word); |
FPU_st0_ptr | 57 | kernel/FPU-emu/fpu_arith.c | reg_div(&st(FPU_rm), FPU_st0_ptr, FPU_st0_ptr, control_word); |
FPU_st0_ptr | 65 | kernel/FPU-emu/fpu_arith.c | reg_add(FPU_st0_ptr, &st(FPU_rm), &st(FPU_rm), control_word); |
FPU_st0_ptr | 72 | kernel/FPU-emu/fpu_arith.c | reg_mul(&st(FPU_rm), FPU_st0_ptr, &st(FPU_rm), control_word); |
FPU_st0_ptr | 81 | kernel/FPU-emu/fpu_arith.c | reg_sub(FPU_st0_ptr, &st(FPU_rm), &st(FPU_rm), control_word); |
FPU_st0_ptr | 90 | kernel/FPU-emu/fpu_arith.c | reg_sub(&st(FPU_rm), FPU_st0_ptr, &st(FPU_rm), control_word); |
FPU_st0_ptr | 97 | kernel/FPU-emu/fpu_arith.c | reg_div(FPU_st0_ptr, &st(FPU_rm), &st(FPU_rm), control_word); |
FPU_st0_ptr | 104 | kernel/FPU-emu/fpu_arith.c | reg_div(&st(FPU_rm), FPU_st0_ptr, &st(FPU_rm), control_word); |
FPU_st0_ptr | 112 | kernel/FPU-emu/fpu_arith.c | reg_add(FPU_st0_ptr, &st(FPU_rm), &st(FPU_rm), control_word); |
FPU_st0_ptr | 120 | kernel/FPU-emu/fpu_arith.c | reg_mul(&st(FPU_rm), FPU_st0_ptr, &st(FPU_rm), control_word); |
FPU_st0_ptr | 131 | kernel/FPU-emu/fpu_arith.c | reg_sub(FPU_st0_ptr, &st(FPU_rm), &st(FPU_rm), control_word); |
FPU_st0_ptr | 141 | kernel/FPU-emu/fpu_arith.c | reg_sub(&st(FPU_rm), FPU_st0_ptr, &st(FPU_rm), control_word); |
FPU_st0_ptr | 149 | kernel/FPU-emu/fpu_arith.c | reg_div(FPU_st0_ptr, &st(FPU_rm), &st(FPU_rm), control_word); |
FPU_st0_ptr | 157 | kernel/FPU-emu/fpu_arith.c | reg_div(&st(FPU_rm), FPU_st0_ptr, &st(FPU_rm), control_word); |
FPU_st0_ptr | 119 | kernel/FPU-emu/fpu_aux.c | reg_move(FPU_st0_ptr, &t); |
FPU_st0_ptr | 120 | kernel/FPU-emu/fpu_aux.c | reg_move(sti_ptr, FPU_st0_ptr); |
FPU_st0_ptr | 143 | kernel/FPU-emu/fpu_aux.c | reg_move(FPU_st0_ptr, &st(FPU_rm)); |
FPU_st0_ptr | 150 | kernel/FPU-emu/fpu_aux.c | reg_move(FPU_st0_ptr, &st(FPU_rm)); |
FPU_st0_ptr | 67 | kernel/FPU-emu/fpu_emu.h | extern FPU_REG *FPU_st0_ptr; |
FPU_st0_ptr | 73 | kernel/FPU-emu/fpu_emu.h | #define pop() { FPU_st0_ptr->tag = TW_Empty; top++; } |
FPU_st0_ptr | 76 | kernel/FPU-emu/fpu_emu.h | #define push() { top--; FPU_st0_ptr = st_new_ptr; } |
FPU_st0_ptr | 128 | kernel/FPU-emu/fpu_entry.c | FPU_REG *FPU_st0_ptr; |
FPU_st0_ptr | 221 | kernel/FPU-emu/fpu_entry.c | FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 222 | kernel/FPU-emu/fpu_entry.c | FPU_st0_tag = FPU_st0_ptr->tag; |
FPU_st0_ptr | 228 | kernel/FPU-emu/fpu_entry.c | reg_add(FPU_st0_ptr, &FPU_loaded_data, FPU_st0_ptr, |
FPU_st0_ptr | 232 | kernel/FPU-emu/fpu_entry.c | reg_mul(FPU_st0_ptr, &FPU_loaded_data, FPU_st0_ptr, |
FPU_st0_ptr | 243 | kernel/FPU-emu/fpu_entry.c | reg_sub(FPU_st0_ptr, &FPU_loaded_data, FPU_st0_ptr, |
FPU_st0_ptr | 247 | kernel/FPU-emu/fpu_entry.c | reg_sub(&FPU_loaded_data, FPU_st0_ptr, FPU_st0_ptr, |
FPU_st0_ptr | 251 | kernel/FPU-emu/fpu_entry.c | reg_div(FPU_st0_ptr, &FPU_loaded_data, FPU_st0_ptr, |
FPU_st0_ptr | 255 | kernel/FPU-emu/fpu_entry.c | reg_div(&FPU_loaded_data, FPU_st0_ptr, FPU_st0_ptr, |
FPU_st0_ptr | 274 | kernel/FPU-emu/fpu_entry.c | FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 275 | 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 | 61 | kernel/FPU-emu/fpu_etc.c | if (FPU_st0_ptr->sign == SIGN_POS) |
FPU_st0_ptr | 91 | kernel/FPU-emu/fpu_etc.c | if (FPU_st0_ptr->sigh & 0x80000000) |
FPU_st0_ptr | 103 | kernel/FPU-emu/fpu_etc.c | if (FPU_st0_ptr->sign == SIGN_NEG) |
FPU_st0_ptr | 77 | kernel/FPU-emu/fpu_trig.c | if ( !(FPU_st0_ptr->sigh & 0x40000000) ) /* Signaling ? */ |
FPU_st0_ptr | 81 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sigh |= 0x40000000; |
FPU_st0_ptr | 105 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_POS ) |
FPU_st0_ptr | 108 | kernel/FPU-emu/fpu_trig.c | if ( poly_2xm1(FPU_st0_ptr, &rv) ) |
FPU_st0_ptr | 110 | kernel/FPU-emu/fpu_trig.c | reg_mul(&rv, FPU_st0_ptr, FPU_st0_ptr, FULL_PRECISION); |
FPU_st0_ptr | 117 | kernel/FPU-emu/fpu_trig.c | reg_add(FPU_st0_ptr, &CONST_1, &tmp, FULL_PRECISION); |
FPU_st0_ptr | 120 | kernel/FPU-emu/fpu_trig.c | reg_sub(&tmp, &CONST_1, FPU_st0_ptr, FULL_PRECISION); |
FPU_st0_ptr | 121 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->exp--; |
FPU_st0_ptr | 122 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp <= EXP_UNDER ) |
FPU_st0_ptr | 123 | kernel/FPU-emu/fpu_trig.c | arith_underflow(FPU_st0_ptr); |
FPU_st0_ptr | 130 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_NEG ) |
FPU_st0_ptr | 133 | kernel/FPU-emu/fpu_trig.c | reg_move(&CONST_1, FPU_st0_ptr); |
FPU_st0_ptr | 134 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_NEG; |
FPU_st0_ptr | 146 | kernel/FPU-emu/fpu_trig.c | char arg_sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 154 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_POS; |
FPU_st0_ptr | 155 | kernel/FPU-emu/fpu_trig.c | if ( (q = trig_arg(FPU_st0_ptr)) != -1 ) |
FPU_st0_ptr | 158 | kernel/FPU-emu/fpu_trig.c | reg_sub(&CONST_1, FPU_st0_ptr, FPU_st0_ptr, FULL_PRECISION); |
FPU_st0_ptr | 160 | kernel/FPU-emu/fpu_trig.c | poly_tan(FPU_st0_ptr, FPU_st0_ptr); |
FPU_st0_ptr | 162 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = (q & 1) ^ arg_sign; |
FPU_st0_ptr | 164 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp <= EXP_UNDER ) |
FPU_st0_ptr | 165 | kernel/FPU-emu/fpu_trig.c | arith_underflow(FPU_st0_ptr); |
FPU_st0_ptr | 168 | kernel/FPU-emu/fpu_trig.c | reg_move(&CONST_1, FPU_st0_ptr); |
FPU_st0_ptr | 175 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = arg_sign; /* restore st(0) */ |
FPU_st0_ptr | 180 | kernel/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); |
FPU_st0_ptr | 185 | kernel/FPU-emu/fpu_trig.c | reg_move(&CONST_1, FPU_st0_ptr); |
FPU_st0_ptr | 198 | kernel/FPU-emu/fpu_trig.c | register FPU_REG *st1_ptr = FPU_st0_ptr; /* anticipate */ |
FPU_st0_ptr | 208 | kernel/FPU-emu/fpu_trig.c | reg_move(st1_ptr, FPU_st0_ptr); |
FPU_st0_ptr | 209 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->exp = EXP_BIAS; |
FPU_st0_ptr | 216 | kernel/FPU-emu/fpu_trig.c | char sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 217 | kernel/FPU-emu/fpu_trig.c | divide_by_zero(SIGN_NEG, FPU_st0_ptr); |
FPU_st0_ptr | 219 | kernel/FPU-emu/fpu_trig.c | reg_move(&CONST_Z, FPU_st0_ptr); |
FPU_st0_ptr | 220 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
FPU_st0_ptr | 225 | kernel/FPU-emu/fpu_trig.c | char sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 226 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_POS; |
FPU_st0_ptr | 228 | kernel/FPU-emu/fpu_trig.c | reg_move(&CONST_INF, FPU_st0_ptr); |
FPU_st0_ptr | 229 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
FPU_st0_ptr | 234 | kernel/FPU-emu/fpu_trig.c | if ( !(FPU_st0_ptr->sigh & 0x40000000) ) /* Signaling ? */ |
FPU_st0_ptr | 238 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sigh |= 0x40000000; |
FPU_st0_ptr | 241 | kernel/FPU-emu/fpu_trig.c | reg_move(st1_ptr, FPU_st0_ptr); |
FPU_st0_ptr | 280 | kernel/FPU-emu/fpu_trig.c | if (FPU_st0_ptr->sign == SIGN_NEG) |
FPU_st0_ptr | 282 | kernel/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); |
FPU_st0_ptr | 286 | kernel/FPU-emu/fpu_trig.c | expon = FPU_st0_ptr->exp - EXP_BIAS; |
FPU_st0_ptr | 287 | 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 | 289 | kernel/FPU-emu/fpu_trig.c | wm_sqrt(FPU_st0_ptr, control_word); /* Do the computation */ |
FPU_st0_ptr | 291 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->exp += expon >> 1; |
FPU_st0_ptr | 292 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_POS; |
FPU_st0_ptr | 298 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_NEG ) |
FPU_st0_ptr | 299 | kernel/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); |
FPU_st0_ptr | 312 | kernel/FPU-emu/fpu_trig.c | if (FPU_st0_ptr->exp > EXP_BIAS+63) |
FPU_st0_ptr | 315 | kernel/FPU-emu/fpu_trig.c | round_to_int(FPU_st0_ptr); /* Fortunately, this can't overflow to 2^64 */ |
FPU_st0_ptr | 316 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->exp = EXP_BIAS + 63; |
FPU_st0_ptr | 317 | kernel/FPU-emu/fpu_trig.c | normalize(FPU_st0_ptr); |
FPU_st0_ptr | 332 | kernel/FPU-emu/fpu_trig.c | char arg_sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 333 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = SIGN_POS; |
FPU_st0_ptr | 334 | kernel/FPU-emu/fpu_trig.c | if ( (q = trig_arg(FPU_st0_ptr)) != -1 ) |
FPU_st0_ptr | 339 | kernel/FPU-emu/fpu_trig.c | reg_sub(&CONST_1, FPU_st0_ptr, FPU_st0_ptr, FULL_PRECISION); |
FPU_st0_ptr | 341 | kernel/FPU-emu/fpu_trig.c | poly_sine(FPU_st0_ptr, &rv); |
FPU_st0_ptr | 347 | kernel/FPU-emu/fpu_trig.c | reg_move(&rv, FPU_st0_ptr); |
FPU_st0_ptr | 349 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp <= EXP_UNDER ) |
FPU_st0_ptr | 350 | kernel/FPU-emu/fpu_trig.c | arith_underflow(FPU_st0_ptr); |
FPU_st0_ptr | 358 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = arg_sign; /* restore st(0) */ |
FPU_st0_ptr | 370 | kernel/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); |
FPU_st0_ptr | 419 | kernel/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); |
FPU_st0_ptr | 433 | kernel/FPU-emu/fpu_trig.c | f_cos(FPU_st0_ptr); |
FPU_st0_ptr | 445 | kernel/FPU-emu/fpu_trig.c | reg_move(FPU_st0_ptr,&arg); |
FPU_st0_ptr | 450 | kernel/FPU-emu/fpu_trig.c | reg_move(&arg,FPU_st0_ptr); |
FPU_st0_ptr | 470 | kernel/FPU-emu/fpu_trig.c | int expdif = FPU_st0_ptr->exp - (st1_ptr)->exp; |
FPU_st0_ptr | 480 | kernel/FPU-emu/fpu_trig.c | reg_div(FPU_st0_ptr, st1_ptr, &tmp, FULL_PRECISION); |
FPU_st0_ptr | 488 | kernel/FPU-emu/fpu_trig.c | reg_sub(FPU_st0_ptr, &tmp, FPU_st0_ptr, FULL_PRECISION); |
FPU_st0_ptr | 501 | kernel/FPU-emu/fpu_trig.c | reg_div(FPU_st0_ptr, st1_ptr, &tmp, FULL_PRECISION); |
FPU_st0_ptr | 513 | kernel/FPU-emu/fpu_trig.c | reg_sub(FPU_st0_ptr, &tmp, FPU_st0_ptr, FULL_PRECISION); |
FPU_st0_ptr | 519 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp <= EXP_UNDER ) |
FPU_st0_ptr | 520 | kernel/FPU-emu/fpu_trig.c | arith_underflow(FPU_st0_ptr); |
FPU_st0_ptr | 530 | kernel/FPU-emu/fpu_trig.c | { arith_invalid(FPU_st0_ptr); return; } |
FPU_st0_ptr | 534 | kernel/FPU-emu/fpu_trig.c | { real_2op_NaN(FPU_st0_ptr, st1_ptr, FPU_st0_ptr); return; } |
FPU_st0_ptr | 536 | kernel/FPU-emu/fpu_trig.c | { arith_invalid(FPU_st0_ptr); return; } |
FPU_st0_ptr | 553 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_POS ) |
FPU_st0_ptr | 555 | kernel/FPU-emu/fpu_trig.c | poly_l2(FPU_st0_ptr, FPU_st0_ptr); |
FPU_st0_ptr | 557 | kernel/FPU-emu/fpu_trig.c | reg_mul(FPU_st0_ptr, st1_ptr, st1_ptr, FULL_PRECISION); |
FPU_st0_ptr | 558 | kernel/FPU-emu/fpu_trig.c | pop(); FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 559 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp <= EXP_UNDER ) |
FPU_st0_ptr | 560 | kernel/FPU-emu/fpu_trig.c | { arith_underflow(FPU_st0_ptr); return; } |
FPU_st0_ptr | 561 | kernel/FPU-emu/fpu_trig.c | else if ( FPU_st0_ptr->exp >= EXP_OVER ) |
FPU_st0_ptr | 562 | kernel/FPU-emu/fpu_trig.c | { arith_overflow(FPU_st0_ptr); return; } |
FPU_st0_ptr | 567 | kernel/FPU-emu/fpu_trig.c | pop(); FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 568 | kernel/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); |
FPU_st0_ptr | 576 | kernel/FPU-emu/fpu_trig.c | real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr); |
FPU_st0_ptr | 585 | kernel/FPU-emu/fpu_trig.c | pop(); FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 586 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->tag == TW_Zero ) |
FPU_st0_ptr | 587 | kernel/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); |
FPU_st0_ptr | 589 | kernel/FPU-emu/fpu_trig.c | divide_by_zero(st1_ptr->sign ^ SIGN_NEG, FPU_st0_ptr); |
FPU_st0_ptr | 595 | kernel/FPU-emu/fpu_trig.c | char sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 596 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp < EXP_BIAS ) sign ^= SIGN_NEG; |
FPU_st0_ptr | 597 | kernel/FPU-emu/fpu_trig.c | pop(); FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 598 | kernel/FPU-emu/fpu_trig.c | reg_move(&CONST_Z, FPU_st0_ptr); |
FPU_st0_ptr | 599 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
FPU_st0_ptr | 604 | kernel/FPU-emu/fpu_trig.c | pop(); FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 605 | kernel/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); |
FPU_st0_ptr | 612 | kernel/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->sign == SIGN_NEG) || (st1_tag == TW_Zero) ) |
FPU_st0_ptr | 613 | kernel/FPU-emu/fpu_trig.c | { pop(); FPU_st0_ptr = &st(0); arith_invalid(FPU_st0_ptr); return; } |
FPU_st0_ptr | 617 | kernel/FPU-emu/fpu_trig.c | pop(); FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 618 | kernel/FPU-emu/fpu_trig.c | reg_move(&CONST_INF, FPU_st0_ptr); |
FPU_st0_ptr | 619 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
FPU_st0_ptr | 624 | kernel/FPU-emu/fpu_trig.c | else if ( (FPU_st0_tag == TW_Valid) && (FPU_st0_ptr->sign == SIGN_POS) ) |
FPU_st0_ptr | 626 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp >= EXP_BIAS ) |
FPU_st0_ptr | 628 | kernel/FPU-emu/fpu_trig.c | if ( (FPU_st0_ptr->exp == EXP_BIAS) && |
FPU_st0_ptr | 629 | kernel/FPU-emu/fpu_trig.c | (FPU_st0_ptr->sigh == 0x80000000) && |
FPU_st0_ptr | 630 | kernel/FPU-emu/fpu_trig.c | (FPU_st0_ptr->sigl == 0) ) |
FPU_st0_ptr | 632 | kernel/FPU-emu/fpu_trig.c | pop(); FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 633 | kernel/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); |
FPU_st0_ptr | 640 | kernel/FPU-emu/fpu_trig.c | pop(); FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 641 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign ^= SIGN_NEG; |
FPU_st0_ptr | 648 | kernel/FPU-emu/fpu_trig.c | pop(); FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 649 | kernel/FPU-emu/fpu_trig.c | arith_invalid(FPU_st0_ptr); |
FPU_st0_ptr | 663 | kernel/FPU-emu/fpu_trig.c | int quadrant = st1_ptr->sign | ((FPU_st0_ptr->sign)<<1); |
FPU_st0_ptr | 664 | kernel/FPU-emu/fpu_trig.c | st1_ptr->sign = FPU_st0_ptr->sign = SIGN_POS; |
FPU_st0_ptr | 668 | kernel/FPU-emu/fpu_trig.c | reg_div(FPU_st0_ptr, st1_ptr, &sum, FULL_PRECISION); |
FPU_st0_ptr | 671 | kernel/FPU-emu/fpu_trig.c | reg_div(st1_ptr, FPU_st0_ptr, &sum, FULL_PRECISION); |
FPU_st0_ptr | 687 | kernel/FPU-emu/fpu_trig.c | pop(); FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 688 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->exp <= EXP_UNDER ) |
FPU_st0_ptr | 689 | kernel/FPU-emu/fpu_trig.c | { arith_underflow(FPU_st0_ptr); return; } |
FPU_st0_ptr | 695 | kernel/FPU-emu/fpu_trig.c | real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr); |
FPU_st0_ptr | 706 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_POS ) |
FPU_st0_ptr | 713 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_POS ) |
FPU_st0_ptr | 730 | kernel/FPU-emu/fpu_trig.c | if ( FPU_st0_ptr->sign == SIGN_POS ) |
FPU_st0_ptr | 771 | kernel/FPU-emu/fpu_trig.c | if ( poly_l2p1(FPU_st0_ptr, FPU_st0_ptr) ) |
FPU_st0_ptr | 776 | kernel/FPU-emu/fpu_trig.c | reg_mul(FPU_st0_ptr, st1_ptr, st1_ptr, FULL_PRECISION); |
FPU_st0_ptr | 785 | kernel/FPU-emu/fpu_trig.c | st1_ptr->sign ^= FPU_st0_ptr->sign; |
FPU_st0_ptr | 786 | kernel/FPU-emu/fpu_trig.c | reg_move(FPU_st0_ptr, st1_ptr); |
FPU_st0_ptr | 811 | kernel/FPU-emu/fpu_trig.c | real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr); |
FPU_st0_ptr | 818 | kernel/FPU-emu/fpu_trig.c | real_2op_NaN(FPU_st0_ptr, st1_ptr, st1_ptr); |
FPU_st0_ptr | 846 | kernel/FPU-emu/fpu_trig.c | sign = FPU_st0_ptr->sign; |
FPU_st0_ptr | 847 | kernel/FPU-emu/fpu_trig.c | reg_move(&CONST_INF, FPU_st0_ptr); |
FPU_st0_ptr | 848 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
FPU_st0_ptr | 854 | kernel/FPU-emu/fpu_trig.c | reg_move(&CONST_Z, FPU_st0_ptr); |
FPU_st0_ptr | 861 | kernel/FPU-emu/fpu_trig.c | scale += FPU_st0_ptr->exp; |
FPU_st0_ptr | 862 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->exp = scale; |
FPU_st0_ptr | 865 | kernel/FPU-emu/fpu_trig.c | { arith_underflow(FPU_st0_ptr); return; } |
FPU_st0_ptr | 867 | kernel/FPU-emu/fpu_trig.c | { arith_overflow(FPU_st0_ptr); return; } |
FPU_st0_ptr | 879 | kernel/FPU-emu/fpu_trig.c | { reg_move(&CONST_INF, FPU_st0_ptr); } |
FPU_st0_ptr | 881 | kernel/FPU-emu/fpu_trig.c | reg_move(&CONST_Z, FPU_st0_ptr); |
FPU_st0_ptr | 882 | kernel/FPU-emu/fpu_trig.c | FPU_st0_ptr->sign = sign; |
FPU_st0_ptr | 886 | kernel/FPU-emu/fpu_trig.c | { real_2op_NaN(FPU_st0_ptr, st1_ptr, FPU_st0_ptr); return; } |
FPU_st0_ptr | 896 | kernel/FPU-emu/fpu_trig.c | { arith_invalid(FPU_st0_ptr); return; } |
FPU_st0_ptr | 899 | kernel/FPU-emu/fpu_trig.c | { real_2op_NaN(FPU_st0_ptr, st1_ptr, FPU_st0_ptr); return; } |
FPU_st0_ptr | 907 | kernel/FPU-emu/fpu_trig.c | { arith_invalid(FPU_st0_ptr); return; } |
FPU_st0_ptr | 909 | kernel/FPU-emu/fpu_trig.c | { real_2op_NaN(FPU_st0_ptr, st1_ptr, FPU_st0_ptr); return; } |
FPU_st0_ptr | 914 | kernel/FPU-emu/fpu_trig.c | { real_2op_NaN(FPU_st0_ptr, st1_ptr, FPU_st0_ptr); return; } |
FPU_st0_ptr | 61 | kernel/FPU-emu/load_store.c | FPU_st0_ptr = pop_ptr; /* Set the global variables. */ |
FPU_st0_ptr | 62 | kernel/FPU-emu/load_store.c | FPU_st0_tag = FPU_st0_ptr->tag; |
FPU_st0_ptr | 27 | kernel/FPU-emu/reg_compare.c | if ( FPU_st0_ptr->tag | b->tag ) |
FPU_st0_ptr | 29 | kernel/FPU-emu/reg_compare.c | if ( FPU_st0_ptr->tag == TW_Zero ) |
FPU_st0_ptr | 39 | kernel/FPU-emu/reg_compare.c | if ( FPU_st0_ptr->tag == TW_Valid ) |
FPU_st0_ptr | 41 | kernel/FPU-emu/reg_compare.c | return (FPU_st0_ptr->sign == SIGN_POS) ? COMP_A_GT_B : COMP_A_LT_B ; |
FPU_st0_ptr | 45 | kernel/FPU-emu/reg_compare.c | if ( FPU_st0_ptr->tag == TW_Infinity ) |
FPU_st0_ptr | 49 | kernel/FPU-emu/reg_compare.c | return (FPU_st0_ptr->sign == SIGN_POS) ? COMP_A_GT_B : COMP_A_LT_B; |
FPU_st0_ptr | 54 | kernel/FPU-emu/reg_compare.c | return (FPU_st0_ptr->sign == b->sign) ? COMP_A_EQ_B : |
FPU_st0_ptr | 55 | kernel/FPU-emu/reg_compare.c | ((FPU_st0_ptr->sign == SIGN_POS) ? COMP_A_GT_B : COMP_A_LT_B); |
FPU_st0_ptr | 61 | kernel/FPU-emu/reg_compare.c | if ( (FPU_st0_ptr->tag == TW_Valid) || (FPU_st0_ptr->tag == TW_Zero) ) |
FPU_st0_ptr | 70 | kernel/FPU-emu/reg_compare.c | if ( (FPU_st0_ptr->tag == TW_NaN) || (b->tag == TW_NaN) ) |
FPU_st0_ptr | 72 | kernel/FPU-emu/reg_compare.c | if ( ((FPU_st0_ptr->tag == TW_NaN) && !(FPU_st0_ptr->sigh & 0x40000000)) |
FPU_st0_ptr | 85 | kernel/FPU-emu/reg_compare.c | if (!(FPU_st0_ptr->sigh & 0x80000000)) EXCEPTION(EX_Invalid); |
FPU_st0_ptr | 89 | kernel/FPU-emu/reg_compare.c | if (FPU_st0_ptr->sign != b->sign) |
FPU_st0_ptr | 90 | kernel/FPU-emu/reg_compare.c | return (FPU_st0_ptr->sign == SIGN_POS) ? COMP_A_GT_B : COMP_A_LT_B; |
FPU_st0_ptr | 92 | kernel/FPU-emu/reg_compare.c | diff = FPU_st0_ptr->exp - b->exp; |
FPU_st0_ptr | 95 | kernel/FPU-emu/reg_compare.c | diff = FPU_st0_ptr->sigh - b->sigh; /* Works only if ms bits are |
FPU_st0_ptr | 99 | kernel/FPU-emu/reg_compare.c | diff = FPU_st0_ptr->sigl > b->sigl; |
FPU_st0_ptr | 101 | kernel/FPU-emu/reg_compare.c | diff = -(FPU_st0_ptr->sigl < b->sigl); |
FPU_st0_ptr | 106 | kernel/FPU-emu/reg_compare.c | return (FPU_st0_ptr->sign == SIGN_POS) ? COMP_A_GT_B : COMP_A_LT_B ; |
FPU_st0_ptr | 108 | kernel/FPU-emu/reg_compare.c | return (FPU_st0_ptr->sign == SIGN_POS) ? COMP_A_LT_B : COMP_A_GT_B ; |
FPU_st0_ptr | 244 | kernel/FPU-emu/reg_compare.c | pop(); FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 270 | kernel/FPU-emu/reg_compare.c | pop(); FPU_st0_ptr = &st(0); |
FPU_st0_ptr | 65 | kernel/FPU-emu/reg_constant.c | reg_move(c, FPU_st0_ptr); |
FPU_st0_ptr | 385 | kernel/FPU-emu/reg_ld_str.c | long e = FPU_st0_ptr->exp - EXP_BIAS + EXTENDED_Ebias; |
FPU_st0_ptr | 386 | kernel/FPU-emu/reg_ld_str.c | unsigned short sign = FPU_st0_ptr->sign*0x8000; |
FPU_st0_ptr | 411 | kernel/FPU-emu/reg_ld_str.c | ls = FPU_st0_ptr->sigl; |
FPU_st0_ptr | 412 | kernel/FPU-emu/reg_ld_str.c | ms = FPU_st0_ptr->sigh; |
FPU_st0_ptr | 419 | kernel/FPU-emu/reg_ld_str.c | reg_move(FPU_st0_ptr, &tmp); |
FPU_st0_ptr | 443 | kernel/FPU-emu/reg_ld_str.c | ls = FPU_st0_ptr->sigl; |
FPU_st0_ptr | 444 | kernel/FPU-emu/reg_ld_str.c | ms = FPU_st0_ptr->sigh; |
FPU_st0_ptr | 460 | kernel/FPU-emu/reg_ld_str.c | ls = FPU_st0_ptr->sigl; |
FPU_st0_ptr | 461 | kernel/FPU-emu/reg_ld_str.c | ms = FPU_st0_ptr->sigh; |
FPU_st0_ptr | 511 | kernel/FPU-emu/reg_ld_str.c | reg_move(FPU_st0_ptr, &tmp); |
FPU_st0_ptr | 590 | kernel/FPU-emu/reg_ld_str.c | reg_move(FPU_st0_ptr, &tmp); |
FPU_st0_ptr | 628 | kernel/FPU-emu/reg_ld_str.c | l[0] = (FPU_st0_ptr->sigl >> 11) | (FPU_st0_ptr->sigh << 21); |
FPU_st0_ptr | 629 | kernel/FPU-emu/reg_ld_str.c | l[1] = ((FPU_st0_ptr->sigh >> 11) & 0xfffff); |
FPU_st0_ptr | 664 | kernel/FPU-emu/reg_ld_str.c | if (FPU_st0_ptr->sign) |
FPU_st0_ptr | 688 | kernel/FPU-emu/reg_ld_str.c | reg_move(FPU_st0_ptr, &tmp); |
FPU_st0_ptr | 760 | kernel/FPU-emu/reg_ld_str.c | reg_move(FPU_st0_ptr, &tmp); |
FPU_st0_ptr | 792 | kernel/FPU-emu/reg_ld_str.c | templ = FPU_st0_ptr->sigh >> 8; |
FPU_st0_ptr | 833 | kernel/FPU-emu/reg_ld_str.c | if (FPU_st0_ptr->sign) |
FPU_st0_ptr | 866 | kernel/FPU-emu/reg_ld_str.c | reg_move(FPU_st0_ptr, &t); |
FPU_st0_ptr | 922 | kernel/FPU-emu/reg_ld_str.c | reg_move(FPU_st0_ptr, &t); |
FPU_st0_ptr | 975 | kernel/FPU-emu/reg_ld_str.c | reg_move(FPU_st0_ptr, &t); |
FPU_st0_ptr | 1011 | kernel/FPU-emu/reg_ld_str.c | unsigned char sign = (FPU_st0_ptr->sign == SIGN_NEG) ? 0x80 : 0; |
FPU_st0_ptr | 1027 | kernel/FPU-emu/reg_ld_str.c | reg_move(FPU_st0_ptr, &t); |
FPU_st0_ptr | 34 | kernel/FPU-emu/reg_mul.c | { arith_underflow(FPU_st0_ptr); } |
FPU_st0_ptr | 36 | kernel/FPU-emu/reg_mul.c | { arith_overflow(FPU_st0_ptr); } |