st0_ptr 135 arch/x86/math-emu/fpu_aux.c FPU_REG *st0_ptr = &st(0), *sti_ptr = &st(i); st0_ptr 157 arch/x86/math-emu/fpu_aux.c FPU_copy_to_regi(st0_ptr, st0_tag, i); st0_ptr 164 arch/x86/math-emu/fpu_aux.c reg_copy(st0_ptr, &t); st0_ptr 165 arch/x86/math-emu/fpu_aux.c reg_copy(sti_ptr, st0_ptr); st0_ptr 177 arch/x86/math-emu/fpu_aux.c FPU_REG *st0_ptr = &st(0); st0_ptr 189 arch/x86/math-emu/fpu_aux.c reg_copy(sti_ptr, st0_ptr); st0_ptr 126 arch/x86/math-emu/fpu_emu.h typedef void (*FUNC_ST0) (FPU_REG *st0_ptr, u_char st0_tag); st0_ptr 108 arch/x86/math-emu/fpu_entry.c FPU_REG *st0_ptr; st0_ptr 266 arch/x86/math-emu/fpu_entry.c st0_ptr = &st(0); st0_ptr 317 arch/x86/math-emu/fpu_entry.c if (((st0_tag == TAG_Special) && isNaN(st0_ptr)) st0_ptr 351 arch/x86/math-emu/fpu_entry.c st0_ptr); st0_ptr 384 arch/x86/math-emu/fpu_entry.c setsign(st0_ptr, st0_ptr 473 arch/x86/math-emu/fpu_entry.c st0_ptr = &st(0); st0_ptr 20 arch/x86/math-emu/fpu_etc.c static void fchs(FPU_REG *st0_ptr, u_char st0tag) st0_ptr 23 arch/x86/math-emu/fpu_etc.c signbyte(st0_ptr) ^= SIGN_NEG; st0_ptr 29 arch/x86/math-emu/fpu_etc.c static void fabs(FPU_REG *st0_ptr, u_char st0tag) st0_ptr 32 arch/x86/math-emu/fpu_etc.c setpositive(st0_ptr); st0_ptr 38 arch/x86/math-emu/fpu_etc.c static void ftst_(FPU_REG *st0_ptr, u_char st0tag) st0_ptr 45 arch/x86/math-emu/fpu_etc.c if (getsign(st0_ptr) == SIGN_POS) st0_ptr 51 arch/x86/math-emu/fpu_etc.c switch (FPU_Special(st0_ptr)) { st0_ptr 53 arch/x86/math-emu/fpu_etc.c if (getsign(st0_ptr) == SIGN_POS) st0_ptr 60 arch/x86/math-emu/fpu_etc.c if (getsign(st0_ptr) == SIGN_POS) st0_ptr 71 arch/x86/math-emu/fpu_etc.c if (getsign(st0_ptr) == SIGN_POS) st0_ptr 89 arch/x86/math-emu/fpu_etc.c static void fxam(FPU_REG *st0_ptr, u_char st0tag) st0_ptr 103 arch/x86/math-emu/fpu_etc.c switch (FPU_Special(st0_ptr)) { st0_ptr 109 arch/x86/math-emu/fpu_etc.c if ((st0_ptr->sigh & 0x80000000) st0_ptr 110 arch/x86/math-emu/fpu_etc.c && (exponent(st0_ptr) == EXP_OVER)) st0_ptr 118 arch/x86/math-emu/fpu_etc.c if (getsign(st0_ptr) == SIGN_NEG) st0_ptr 98 arch/x86/math-emu/fpu_proto.h extern void poly_atan(FPU_REG * st0_ptr, u_char st0_tag, FPU_REG *st1_ptr, st0_ptr 101 arch/x86/math-emu/fpu_proto.h extern void poly_l2(FPU_REG *st0_ptr, FPU_REG *st1_ptr, u_char st1_sign); st0_ptr 105 arch/x86/math-emu/fpu_proto.h extern void poly_sine(FPU_REG *st0_ptr); st0_ptr 106 arch/x86/math-emu/fpu_proto.h extern void poly_cos(FPU_REG *st0_ptr); st0_ptr 108 arch/x86/math-emu/fpu_proto.h extern void poly_tan(FPU_REG *st0_ptr); st0_ptr 134 arch/x86/math-emu/fpu_proto.h extern int FPU_store_extended(FPU_REG *st0_ptr, u_char st0_tag, st0_ptr 136 arch/x86/math-emu/fpu_proto.h extern int FPU_store_double(FPU_REG *st0_ptr, u_char st0_tag, st0_ptr 138 arch/x86/math-emu/fpu_proto.h extern int FPU_store_single(FPU_REG *st0_ptr, u_char st0_tag, st0_ptr 140 arch/x86/math-emu/fpu_proto.h extern int FPU_store_int64(FPU_REG *st0_ptr, u_char st0_tag, st0_ptr 142 arch/x86/math-emu/fpu_proto.h extern int FPU_store_int32(FPU_REG *st0_ptr, u_char st0_tag, long __user *d); st0_ptr 143 arch/x86/math-emu/fpu_proto.h extern int FPU_store_int16(FPU_REG *st0_ptr, u_char st0_tag, short __user *d); st0_ptr 144 arch/x86/math-emu/fpu_proto.h extern int FPU_store_bcd(FPU_REG *st0_ptr, u_char st0_tag, u_char __user *d); st0_ptr 34 arch/x86/math-emu/fpu_trig.c static int trig_arg(FPU_REG *st0_ptr, int even) st0_ptr 42 arch/x86/math-emu/fpu_trig.c if (exponent(st0_ptr) >= 63) { st0_ptr 50 arch/x86/math-emu/fpu_trig.c setpositive(st0_ptr); st0_ptr 51 arch/x86/math-emu/fpu_trig.c tag = FPU_u_div(st0_ptr, &CONST_PI2, &tmp, PR_64_BITS | RC_CHOP | 0x3f, st0_ptr 58 arch/x86/math-emu/fpu_trig.c rem_kernel(significand(st0_ptr), st0_ptr 61 arch/x86/math-emu/fpu_trig.c q, exponent(st0_ptr) - exponent(&CONST_PI2)); st0_ptr 77 arch/x86/math-emu/fpu_trig.c if ((exponent(st0_ptr) <= exponent(&CONST_PI2extra) + 64) st0_ptr 92 arch/x86/math-emu/fpu_trig.c if (signnegative(st0_ptr)) { st0_ptr 97 arch/x86/math-emu/fpu_trig.c setpositive(st0_ptr); st0_ptr 110 arch/x86/math-emu/fpu_trig.c && (exponent(st0_ptr) <= exponent(&CONST_PI2extra) + 64)) st0_ptr 126 arch/x86/math-emu/fpu_trig.c if ((exponent(st0_ptr) == exponent(&CONST_PI2)) && st0_ptr 127 arch/x86/math-emu/fpu_trig.c ((st0_ptr->sigh > CONST_PI2.sigh) st0_ptr 128 arch/x86/math-emu/fpu_trig.c || ((st0_ptr->sigh == CONST_PI2.sigh) st0_ptr 129 arch/x86/math-emu/fpu_trig.c && (st0_ptr->sigl > CONST_PI2.sigl)))) { st0_ptr 180 arch/x86/math-emu/fpu_trig.c static void single_arg_error(FPU_REG *st0_ptr, u_char st0_tag) st0_ptr 185 arch/x86/math-emu/fpu_trig.c real_1op_NaN(st0_ptr); /* return with a NaN in st(0) */ st0_ptr 192 arch/x86/math-emu/fpu_trig.c static void single_arg_2_error(FPU_REG *st0_ptr, u_char st0_tag) st0_ptr 198 arch/x86/math-emu/fpu_trig.c isNaN = (exponent(st0_ptr) == EXP_OVER) st0_ptr 199 arch/x86/math-emu/fpu_trig.c && (st0_ptr->sigh & 0x80000000); st0_ptr 200 arch/x86/math-emu/fpu_trig.c if (isNaN && !(st0_ptr->sigh & 0x40000000)) { /* Signaling ? */ st0_ptr 205 arch/x86/math-emu/fpu_trig.c st0_ptr->sigh |= 0x40000000; st0_ptr 207 arch/x86/math-emu/fpu_trig.c FPU_copy_to_reg0(st0_ptr, TAG_Special); st0_ptr 212 arch/x86/math-emu/fpu_trig.c FPU_copy_to_reg0(st0_ptr, TAG_Special); st0_ptr 233 arch/x86/math-emu/fpu_trig.c static void f2xm1(FPU_REG *st0_ptr, u_char tag) st0_ptr 241 arch/x86/math-emu/fpu_trig.c if (exponent(st0_ptr) < 0) { st0_ptr 244 arch/x86/math-emu/fpu_trig.c FPU_to_exp16(st0_ptr, &a); st0_ptr 247 arch/x86/math-emu/fpu_trig.c poly_2xm1(getsign(st0_ptr), &a, st0_ptr); st0_ptr 257 arch/x86/math-emu/fpu_trig.c tag = FPU_Special(st0_ptr); st0_ptr 265 arch/x86/math-emu/fpu_trig.c if (signnegative(st0_ptr)) { st0_ptr 268 arch/x86/math-emu/fpu_trig.c setnegative(st0_ptr); st0_ptr 272 arch/x86/math-emu/fpu_trig.c single_arg_error(st0_ptr, tag); st0_ptr 276 arch/x86/math-emu/fpu_trig.c static void fptan(FPU_REG *st0_ptr, u_char st0_tag) st0_ptr 280 arch/x86/math-emu/fpu_trig.c u_char arg_sign = getsign(st0_ptr); st0_ptr 299 arch/x86/math-emu/fpu_trig.c if (exponent(st0_ptr) > -40) { st0_ptr 300 arch/x86/math-emu/fpu_trig.c if ((q = trig_arg(st0_ptr, 0)) == -1) { st0_ptr 305 arch/x86/math-emu/fpu_trig.c poly_tan(st0_ptr); st0_ptr 306 arch/x86/math-emu/fpu_trig.c setsign(st0_ptr, (q & 1) ^ (arg_sign != 0)); st0_ptr 314 arch/x86/math-emu/fpu_trig.c FPU_to_exp16(st0_ptr, st0_ptr); st0_ptr 317 arch/x86/math-emu/fpu_trig.c FPU_round(st0_ptr, 1, 0, FULL_PRECISION, arg_sign); st0_ptr 333 arch/x86/math-emu/fpu_trig.c st0_tag = FPU_Special(st0_ptr); st0_ptr 352 arch/x86/math-emu/fpu_trig.c single_arg_2_error(st0_ptr, st0_tag); st0_ptr 355 arch/x86/math-emu/fpu_trig.c static void fxtract(FPU_REG *st0_ptr, u_char st0_tag) st0_ptr 359 arch/x86/math-emu/fpu_trig.c register FPU_REG *st1_ptr = st0_ptr; /* anticipate */ st0_ptr 385 arch/x86/math-emu/fpu_trig.c sign = getsign(st0_ptr); st0_ptr 397 arch/x86/math-emu/fpu_trig.c st0_tag = FPU_Special(st0_ptr); st0_ptr 408 arch/x86/math-emu/fpu_trig.c sign = getsign(st0_ptr); st0_ptr 409 arch/x86/math-emu/fpu_trig.c setpositive(st0_ptr); st0_ptr 415 arch/x86/math-emu/fpu_trig.c if (real_1op_NaN(st0_ptr) < 0) st0_ptr 419 arch/x86/math-emu/fpu_trig.c FPU_copy_to_reg0(st0_ptr, TAG_Special); st0_ptr 448 arch/x86/math-emu/fpu_trig.c static void fsqrt_(FPU_REG *st0_ptr, u_char st0_tag) st0_ptr 457 arch/x86/math-emu/fpu_trig.c if (signnegative(st0_ptr)) { st0_ptr 463 arch/x86/math-emu/fpu_trig.c expon = exponent(st0_ptr); st0_ptr 467 arch/x86/math-emu/fpu_trig.c setexponent16(st0_ptr, (expon & 1)); st0_ptr 470 arch/x86/math-emu/fpu_trig.c tag = wm_sqrt(st0_ptr, 0, 0, control_word, SIGN_POS); st0_ptr 471 arch/x86/math-emu/fpu_trig.c addexponent(st0_ptr, expon >> 1); st0_ptr 480 arch/x86/math-emu/fpu_trig.c st0_tag = FPU_Special(st0_ptr); st0_ptr 483 arch/x86/math-emu/fpu_trig.c if (signnegative(st0_ptr)) st0_ptr 487 arch/x86/math-emu/fpu_trig.c if (signnegative(st0_ptr)) { st0_ptr 495 arch/x86/math-emu/fpu_trig.c FPU_to_exp16(st0_ptr, st0_ptr); st0_ptr 497 arch/x86/math-emu/fpu_trig.c expon = exponent16(st0_ptr); st0_ptr 502 arch/x86/math-emu/fpu_trig.c single_arg_error(st0_ptr, st0_tag); st0_ptr 506 arch/x86/math-emu/fpu_trig.c static void frndint_(FPU_REG *st0_ptr, u_char st0_tag) st0_ptr 515 arch/x86/math-emu/fpu_trig.c sign = getsign(st0_ptr); st0_ptr 517 arch/x86/math-emu/fpu_trig.c if (exponent(st0_ptr) > 63) st0_ptr 526 arch/x86/math-emu/fpu_trig.c if ((flags = FPU_round_to_int(st0_ptr, st0_tag))) st0_ptr 529 arch/x86/math-emu/fpu_trig.c setexponent16(st0_ptr, 63); st0_ptr 530 arch/x86/math-emu/fpu_trig.c tag = FPU_normalize(st0_ptr); st0_ptr 531 arch/x86/math-emu/fpu_trig.c setsign(st0_ptr, sign); st0_ptr 540 arch/x86/math-emu/fpu_trig.c st0_tag = FPU_Special(st0_ptr); st0_ptr 547 arch/x86/math-emu/fpu_trig.c single_arg_error(st0_ptr, st0_tag); st0_ptr 550 arch/x86/math-emu/fpu_trig.c static int fsin(FPU_REG *st0_ptr, u_char tag) st0_ptr 552 arch/x86/math-emu/fpu_trig.c u_char arg_sign = getsign(st0_ptr); st0_ptr 557 arch/x86/math-emu/fpu_trig.c if (exponent(st0_ptr) > -40) { st0_ptr 558 arch/x86/math-emu/fpu_trig.c if ((q = trig_arg(st0_ptr, 0)) == -1) { st0_ptr 563 arch/x86/math-emu/fpu_trig.c poly_sine(st0_ptr); st0_ptr 566 arch/x86/math-emu/fpu_trig.c changesign(st0_ptr); st0_ptr 568 arch/x86/math-emu/fpu_trig.c setsign(st0_ptr, getsign(st0_ptr) ^ arg_sign); st0_ptr 586 arch/x86/math-emu/fpu_trig.c tag = FPU_Special(st0_ptr); st0_ptr 594 arch/x86/math-emu/fpu_trig.c FPU_to_exp16(st0_ptr, st0_ptr); st0_ptr 596 arch/x86/math-emu/fpu_trig.c tag = FPU_round(st0_ptr, 1, 0, FULL_PRECISION, arg_sign); st0_ptr 606 arch/x86/math-emu/fpu_trig.c single_arg_error(st0_ptr, tag); st0_ptr 611 arch/x86/math-emu/fpu_trig.c static int f_cos(FPU_REG *st0_ptr, u_char tag) st0_ptr 615 arch/x86/math-emu/fpu_trig.c st0_sign = getsign(st0_ptr); st0_ptr 620 arch/x86/math-emu/fpu_trig.c if (exponent(st0_ptr) > -40) { st0_ptr 621 arch/x86/math-emu/fpu_trig.c if ((exponent(st0_ptr) < 0) st0_ptr 622 arch/x86/math-emu/fpu_trig.c || ((exponent(st0_ptr) == 0) st0_ptr 623 arch/x86/math-emu/fpu_trig.c && (significand(st0_ptr) <= st0_ptr 625 arch/x86/math-emu/fpu_trig.c poly_cos(st0_ptr); st0_ptr 631 arch/x86/math-emu/fpu_trig.c } else if ((q = trig_arg(st0_ptr, FCOS)) != -1) { st0_ptr 632 arch/x86/math-emu/fpu_trig.c poly_sine(st0_ptr); st0_ptr 635 arch/x86/math-emu/fpu_trig.c changesign(st0_ptr); st0_ptr 664 arch/x86/math-emu/fpu_trig.c tag = FPU_Special(st0_ptr); st0_ptr 676 arch/x86/math-emu/fpu_trig.c single_arg_error(st0_ptr, tag); /* requires st0_ptr == &st(0) */ st0_ptr 681 arch/x86/math-emu/fpu_trig.c static void fcos(FPU_REG *st0_ptr, u_char st0_tag) st0_ptr 683 arch/x86/math-emu/fpu_trig.c f_cos(st0_ptr, st0_tag); st0_ptr 686 arch/x86/math-emu/fpu_trig.c static void fsincos(FPU_REG *st0_ptr, u_char st0_tag) st0_ptr 709 arch/x86/math-emu/fpu_trig.c tag = FPU_Special(st0_ptr); st0_ptr 714 arch/x86/math-emu/fpu_trig.c single_arg_2_error(st0_ptr, TW_NaN); st0_ptr 726 arch/x86/math-emu/fpu_trig.c reg_copy(st0_ptr, &arg); st0_ptr 727 arch/x86/math-emu/fpu_trig.c if (!fsin(st0_ptr, st0_tag)) { st0_ptr 779 arch/x86/math-emu/fpu_trig.c static void do_fprem(FPU_REG *st0_ptr, u_char st0_tag, int round) st0_ptr 797 arch/x86/math-emu/fpu_trig.c st0_sign = FPU_to_exp16(st0_ptr, &st0); st0_ptr 931 arch/x86/math-emu/fpu_trig.c reg_copy(&tmp, st0_ptr); st0_ptr 938 arch/x86/math-emu/fpu_trig.c tag = arith_underflow(st0_ptr); st0_ptr 939 arch/x86/math-emu/fpu_trig.c setsign(st0_ptr, st0_sign); st0_ptr 943 arch/x86/math-emu/fpu_trig.c stdexp(st0_ptr); st0_ptr 944 arch/x86/math-emu/fpu_trig.c setsign(st0_ptr, st0_sign); st0_ptr 947 arch/x86/math-emu/fpu_trig.c FPU_round(st0_ptr, 0, 0, FULL_PRECISION, st0_sign); st0_ptr 956 arch/x86/math-emu/fpu_trig.c st0_tag = FPU_Special(st0_ptr); st0_ptr 1021 arch/x86/math-emu/fpu_trig.c static void fyl2x(FPU_REG *st0_ptr, u_char st0_tag) st0_ptr 1033 arch/x86/math-emu/fpu_trig.c if (signpositive(st0_ptr)) { st0_ptr 1035 arch/x86/math-emu/fpu_trig.c FPU_to_exp16(st0_ptr, st0_ptr); st0_ptr 1038 arch/x86/math-emu/fpu_trig.c setexponent16(st0_ptr, exponent(st0_ptr)); st0_ptr 1040 arch/x86/math-emu/fpu_trig.c if ((st0_ptr->sigh == 0x80000000) st0_ptr 1041 arch/x86/math-emu/fpu_trig.c && (st0_ptr->sigl == 0)) { st0_ptr 1044 arch/x86/math-emu/fpu_trig.c e = exponent16(st0_ptr); st0_ptr 1070 arch/x86/math-emu/fpu_trig.c poly_l2(st0_ptr, st1_ptr, sign); st0_ptr 1084 arch/x86/math-emu/fpu_trig.c st0_tag = FPU_Special(st0_ptr); st0_ptr 1110 arch/x86/math-emu/fpu_trig.c if (signnegative(st0_ptr)) { st0_ptr 1118 arch/x86/math-emu/fpu_trig.c if (exponent(st0_ptr) < 0) st0_ptr 1131 arch/x86/math-emu/fpu_trig.c if (real_2op_NaN(st0_ptr, st0_tag, 1, st0_ptr) < 0) st0_ptr 1136 arch/x86/math-emu/fpu_trig.c if ((signnegative(st0_ptr)) || (st1_tag == TAG_Zero)) { st0_ptr 1153 arch/x86/math-emu/fpu_trig.c && (signpositive(st0_ptr))) { st0_ptr 1154 arch/x86/math-emu/fpu_trig.c if (exponent(st0_ptr) >= 0) { st0_ptr 1155 arch/x86/math-emu/fpu_trig.c if ((exponent(st0_ptr) == 0) && st0_ptr 1156 arch/x86/math-emu/fpu_trig.c (st0_ptr->sigh == 0x80000000) && st0_ptr 1157 arch/x86/math-emu/fpu_trig.c (st0_ptr->sigl == 0)) { st0_ptr 1192 arch/x86/math-emu/fpu_trig.c static void fpatan(FPU_REG *st0_ptr, u_char st0_tag) st0_ptr 1202 arch/x86/math-emu/fpu_trig.c poly_atan(st0_ptr, st0_tag, st1_ptr, st1_tag); st0_ptr 1210 arch/x86/math-emu/fpu_trig.c st0_tag = FPU_Special(st0_ptr); st0_ptr 1225 arch/x86/math-emu/fpu_trig.c if (real_2op_NaN(st0_ptr, st0_tag, 1, st0_ptr) >= 0) st0_ptr 1232 arch/x86/math-emu/fpu_trig.c if (signpositive(st0_ptr)) { st0_ptr 1250 arch/x86/math-emu/fpu_trig.c if (signpositive(st0_ptr)) { st0_ptr 1275 arch/x86/math-emu/fpu_trig.c if (signpositive(st0_ptr)) { st0_ptr 1302 arch/x86/math-emu/fpu_trig.c static void fprem(FPU_REG *st0_ptr, u_char st0_tag) st0_ptr 1304 arch/x86/math-emu/fpu_trig.c do_fprem(st0_ptr, st0_tag, RC_CHOP); st0_ptr 1307 arch/x86/math-emu/fpu_trig.c static void fprem1(FPU_REG *st0_ptr, u_char st0_tag) st0_ptr 1309 arch/x86/math-emu/fpu_trig.c do_fprem(st0_ptr, st0_tag, RC_RND); st0_ptr 1312 arch/x86/math-emu/fpu_trig.c static void fyl2xp1(FPU_REG *st0_ptr, u_char st0_tag) st0_ptr 1322 arch/x86/math-emu/fpu_trig.c sign = getsign(st0_ptr); st0_ptr 1325 arch/x86/math-emu/fpu_trig.c FPU_to_exp16(st0_ptr, &a); st0_ptr 1336 arch/x86/math-emu/fpu_trig.c st0_tag = FPU_Special(st0_ptr); st0_ptr 1358 arch/x86/math-emu/fpu_trig.c setsign(st0_ptr, getsign(st0_ptr) ^ getsign(st1_ptr)); st0_ptr 1359 arch/x86/math-emu/fpu_trig.c FPU_copy_to_reg1(st0_ptr, st0_tag); st0_ptr 1369 arch/x86/math-emu/fpu_trig.c if (real_2op_NaN(st0_ptr, st0_tag, 1, st0_ptr) < 0) st0_ptr 1383 arch/x86/math-emu/fpu_trig.c if (signnegative(st0_ptr)) { st0_ptr 1384 arch/x86/math-emu/fpu_trig.c if (exponent(st0_ptr) >= 0) { st0_ptr 1403 arch/x86/math-emu/fpu_trig.c if (signnegative(st0_ptr)) { st0_ptr 1404 arch/x86/math-emu/fpu_trig.c if ((exponent(st0_ptr) >= 0) && st0_ptr 1405 arch/x86/math-emu/fpu_trig.c !((st0_ptr->sigh == 0x80000000) && st0_ptr 1406 arch/x86/math-emu/fpu_trig.c (st0_ptr->sigl == 0))) { st0_ptr 1425 arch/x86/math-emu/fpu_trig.c if (real_2op_NaN(st0_ptr, st0_tag, 1, st0_ptr) < 0) st0_ptr 1430 arch/x86/math-emu/fpu_trig.c if (real_2op_NaN(st0_ptr, st0_tag, 1, st0_ptr) < 0) st0_ptr 1434 arch/x86/math-emu/fpu_trig.c if (real_2op_NaN(st0_ptr, st0_tag, 1, st0_ptr) < 0) st0_ptr 1436 arch/x86/math-emu/fpu_trig.c } else if (signnegative(st0_ptr)) { st0_ptr 1481 arch/x86/math-emu/fpu_trig.c static void fscale(FPU_REG *st0_ptr, u_char st0_tag) st0_ptr 1486 arch/x86/math-emu/fpu_trig.c u_char sign = getsign(st0_ptr); st0_ptr 1494 arch/x86/math-emu/fpu_trig.c setexponent16(st0_ptr, exponent(st0_ptr)); st0_ptr 1508 arch/x86/math-emu/fpu_trig.c setsign(st0_ptr, sign); st0_ptr 1518 arch/x86/math-emu/fpu_trig.c scale += exponent16(st0_ptr); st0_ptr 1520 arch/x86/math-emu/fpu_trig.c setexponent16(st0_ptr, scale); st0_ptr 1523 arch/x86/math-emu/fpu_trig.c FPU_round(st0_ptr, 0, 0, control_word, sign); st0_ptr 1529 arch/x86/math-emu/fpu_trig.c st0_tag = FPU_Special(st0_ptr); st0_ptr 1541 arch/x86/math-emu/fpu_trig.c FPU_to_exp16(st0_ptr, st0_ptr); /* Will not be left on stack */ st0_ptr 1562 arch/x86/math-emu/fpu_trig.c setsign(st0_ptr, sign); st0_ptr 1566 arch/x86/math-emu/fpu_trig.c real_2op_NaN(st1_ptr, st1_tag, 0, st0_ptr); st0_ptr 1585 arch/x86/math-emu/fpu_trig.c real_2op_NaN(st1_ptr, st1_tag, 0, st0_ptr); st0_ptr 1604 arch/x86/math-emu/fpu_trig.c real_2op_NaN(st1_ptr, st1_tag, 0, st0_ptr); st0_ptr 1609 arch/x86/math-emu/fpu_trig.c real_2op_NaN(st1_ptr, st1_tag, 0, st0_ptr); st0_ptr 71 arch/x86/math-emu/load_store.c FPU_REG *st0_ptr; st0_ptr 76 arch/x86/math-emu/load_store.c st0_ptr = NULL; /* Initialized just to stop compiler warnings. */ st0_ptr 96 arch/x86/math-emu/load_store.c st0_ptr = &st(0); /* Some of these instructions pop after st0_ptr 107 arch/x86/math-emu/load_store.c st0_ptr = &st(0); st0_ptr 166 arch/x86/math-emu/load_store.c (st0_ptr, st0_tag, (long __user *)data_address)) st0_ptr 176 arch/x86/math-emu/load_store.c (st0_ptr, st0_tag, (long long __user *)data_address)) st0_ptr 186 arch/x86/math-emu/load_store.c (st0_ptr, st0_tag, (short __user *)data_address)) st0_ptr 193 arch/x86/math-emu/load_store.c FPU_store_single(st0_ptr, st0_tag, st0_ptr 198 arch/x86/math-emu/load_store.c FPU_store_int32(st0_ptr, st0_tag, (long __user *)data_address); st0_ptr 202 arch/x86/math-emu/load_store.c FPU_store_double(st0_ptr, st0_tag, st0_ptr 207 arch/x86/math-emu/load_store.c FPU_store_int16(st0_ptr, st0_tag, (short __user *)data_address); st0_ptr 212 arch/x86/math-emu/load_store.c (st0_ptr, st0_tag, (float __user *)data_address)) st0_ptr 219 arch/x86/math-emu/load_store.c (st0_ptr, st0_tag, (long __user *)data_address)) st0_ptr 226 arch/x86/math-emu/load_store.c (st0_ptr, st0_tag, (double __user *)data_address)) st0_ptr 233 arch/x86/math-emu/load_store.c (st0_ptr, st0_tag, (short __user *)data_address)) st0_ptr 288 arch/x86/math-emu/load_store.c (st0_ptr, st0_tag, (u_char __user *) data_address)) st0_ptr 302 arch/x86/math-emu/load_store.c (st0_ptr, st0_tag, (long double __user *)data_address)) st0_ptr 316 arch/x86/math-emu/load_store.c (st0_ptr, st0_tag, (long long __user *)data_address)) st0_ptr 52 arch/x86/math-emu/poly_atan.c void poly_atan(FPU_REG *st0_ptr, u_char st0_tag, st0_ptr 61 arch/x86/math-emu/poly_atan.c sign1 = getsign(st0_ptr); st0_ptr 64 arch/x86/math-emu/poly_atan.c exponent = exponent(st0_ptr); st0_ptr 67 arch/x86/math-emu/poly_atan.c FPU_to_exp16(st0_ptr, st0_ptr); st0_ptr 68 arch/x86/math-emu/poly_atan.c exponent = exponent16(st0_ptr); st0_ptr 79 arch/x86/math-emu/poly_atan.c ((st0_ptr->sigh < st1_ptr->sigh) || st0_ptr 80 arch/x86/math-emu/poly_atan.c ((st0_ptr->sigh == st1_ptr->sigh) && st0_ptr 81 arch/x86/math-emu/poly_atan.c (st0_ptr->sigl < st1_ptr->sigl))))) { st0_ptr 84 arch/x86/math-emu/poly_atan.c XSIG_LL(Numer) = significand(st0_ptr); st0_ptr 91 arch/x86/math-emu/poly_atan.c XSIG_LL(Denom) = significand(st0_ptr); st0_ptr 27 arch/x86/math-emu/poly_l2.c void poly_l2(FPU_REG *st0_ptr, FPU_REG *st1_ptr, u_char st1_sign) st0_ptr 35 arch/x86/math-emu/poly_l2.c exponent = exponent16(st0_ptr); st0_ptr 38 arch/x86/math-emu/poly_l2.c if (st0_ptr->sigh > (unsigned)0xb504f334) { st0_ptr 40 arch/x86/math-emu/poly_l2.c significand(&x) = -significand(st0_ptr); st0_ptr 46 arch/x86/math-emu/poly_l2.c x.sigh = st0_ptr->sigh - 0x80000000; st0_ptr 47 arch/x86/math-emu/poly_l2.c x.sigl = st0_ptr->sigl; st0_ptr 107 arch/x86/math-emu/poly_l2.c FPU_REG * st0_ptr, FPU_REG * st1_ptr, FPU_REG * dest) st0_ptr 113 arch/x86/math-emu/poly_l2.c if (exponent16(st0_ptr) < 0) { st0_ptr 114 arch/x86/math-emu/poly_l2.c log2_kernel(st0_ptr, sign0, &accumulator, &exponent); st0_ptr 58 arch/x86/math-emu/poly_sin.c void poly_sine(FPU_REG *st0_ptr) st0_ptr 66 arch/x86/math-emu/poly_sin.c exponent = exponent(st0_ptr); st0_ptr 73 arch/x86/math-emu/poly_sin.c || ((exponent == -1) && (st0_ptr->sigh <= 0xe21240aa))) { st0_ptr 76 arch/x86/math-emu/poly_sin.c argSqrd.msw = st0_ptr->sigh; st0_ptr 77 arch/x86/math-emu/poly_sin.c argSqrd.midw = st0_ptr->sigl; st0_ptr 79 arch/x86/math-emu/poly_sin.c mul64_Xsig(&argSqrd, &significand(st0_ptr)); st0_ptr 97 arch/x86/math-emu/poly_sin.c mul64_Xsig(&accumulator, &significand(st0_ptr)); st0_ptr 98 arch/x86/math-emu/poly_sin.c mul64_Xsig(&accumulator, &significand(st0_ptr)); st0_ptr 99 arch/x86/math-emu/poly_sin.c mul64_Xsig(&accumulator, &significand(st0_ptr)); st0_ptr 105 arch/x86/math-emu/poly_sin.c shr_Xsig(&accumulator, exponent(st0_ptr) - exponent); st0_ptr 108 arch/x86/math-emu/poly_sin.c XSIG_LL(accumulator) += significand(st0_ptr); st0_ptr 112 arch/x86/math-emu/poly_sin.c setexponentpos(&result, exponent(st0_ptr) + echange); st0_ptr 117 arch/x86/math-emu/poly_sin.c fixed_arg = significand(st0_ptr); st0_ptr 186 arch/x86/math-emu/poly_sin.c setsign(&result, getsign(st0_ptr)); st0_ptr 201 arch/x86/math-emu/poly_sin.c void poly_cos(FPU_REG *st0_ptr) st0_ptr 209 arch/x86/math-emu/poly_sin.c if ((exponent(st0_ptr) > 0) st0_ptr 210 arch/x86/math-emu/poly_sin.c || ((exponent(st0_ptr) == 0) st0_ptr 211 arch/x86/math-emu/poly_sin.c && (significand(st0_ptr) > 0xc90fdaa22168c234LL))) { st0_ptr 218 arch/x86/math-emu/poly_sin.c exponent = exponent(st0_ptr); st0_ptr 223 arch/x86/math-emu/poly_sin.c || ((exponent == -1) && (st0_ptr->sigh <= 0xb00d6f54))) { st0_ptr 226 arch/x86/math-emu/poly_sin.c argSqrd.msw = st0_ptr->sigh; st0_ptr 227 arch/x86/math-emu/poly_sin.c argSqrd.midw = st0_ptr->sigl; st0_ptr 229 arch/x86/math-emu/poly_sin.c mul64_Xsig(&argSqrd, &significand(st0_ptr)); st0_ptr 250 arch/x86/math-emu/poly_sin.c mul64_Xsig(&accumulator, &significand(st0_ptr)); st0_ptr 251 arch/x86/math-emu/poly_sin.c mul64_Xsig(&accumulator, &significand(st0_ptr)); st0_ptr 278 arch/x86/math-emu/poly_sin.c fixed_arg = significand(st0_ptr); st0_ptr 51 arch/x86/math-emu/poly_tan.c void poly_tan(FPU_REG *st0_ptr) st0_ptr 59 arch/x86/math-emu/poly_tan.c exponent = exponent(st0_ptr); st0_ptr 62 arch/x86/math-emu/poly_tan.c if (signnegative(st0_ptr)) { /* Can't hack a number < 0.0 */ st0_ptr 70 arch/x86/math-emu/poly_tan.c || ((exponent == -1) && (st0_ptr->sigh > 0xc90fdaa2))) { st0_ptr 74 arch/x86/math-emu/poly_tan.c XSIG_LL(accum) = significand(st0_ptr); st0_ptr 86 arch/x86/math-emu/poly_tan.c significand(st0_ptr) = 0x8a51e04daabda360LL; st0_ptr 87 arch/x86/math-emu/poly_tan.c setexponent16(st0_ptr, st0_ptr 98 arch/x86/math-emu/poly_tan.c XSIG_LL(accum) = XSIG_LL(argSignif) = significand(st0_ptr); st0_ptr 210 arch/x86/math-emu/poly_tan.c significand(st0_ptr) = XSIG_LL(accum); st0_ptr 211 arch/x86/math-emu/poly_tan.c setexponent16(st0_ptr, exponent + EXTENDED_Ebias); /* Result is positive. */ st0_ptr 28 arch/x86/math-emu/reg_compare.c FPU_REG *st0_ptr; st0_ptr 32 arch/x86/math-emu/reg_compare.c st0_ptr = &st(0); st0_ptr 34 arch/x86/math-emu/reg_compare.c st0_sign = getsign(st0_ptr); st0_ptr 39 arch/x86/math-emu/reg_compare.c st0_tag = FPU_Special(st0_ptr); st0_ptr 95 arch/x86/math-emu/reg_compare.c (st0_ptr->sigh & 0xc0000000) == 0x80000000; st0_ptr 96 arch/x86/math-emu/reg_compare.c unsupported = !((exponent(st0_ptr) == EXP_OVER) st0_ptr 97 arch/x86/math-emu/reg_compare.c && (st0_ptr-> st0_ptr 123 arch/x86/math-emu/reg_compare.c FPU_to_exp16(st0_ptr, &x); st0_ptr 125 arch/x86/math-emu/reg_compare.c st0_ptr = &x; st0_ptr 127 arch/x86/math-emu/reg_compare.c exp0 = exponent16(st0_ptr); st0_ptr 130 arch/x86/math-emu/reg_compare.c exp0 = exponent(st0_ptr); st0_ptr 135 arch/x86/math-emu/reg_compare.c if (!(st0_ptr->sigh & 0x80000000)) st0_ptr 143 arch/x86/math-emu/reg_compare.c diff = st0_ptr->sigh - b->sigh; /* Works only if ms bits are st0_ptr 146 arch/x86/math-emu/reg_compare.c diff = st0_ptr->sigl > b->sigl; st0_ptr 148 arch/x86/math-emu/reg_compare.c diff = -(st0_ptr->sigl < b->sigl); st0_ptr 31 arch/x86/math-emu/reg_divide.c FPU_REG const *a, *b, *st0_ptr, *st_ptr; st0_ptr 43 arch/x86/math-emu/reg_divide.c st0_ptr = b; st0_ptr 55 arch/x86/math-emu/reg_divide.c st0_ptr = a; st0_ptr 134 arch/x86/math-emu/reg_divide.c st0_ptr); st0_ptr 140 arch/x86/math-emu/reg_divide.c tag = FPU_Special(st0_ptr); st0_ptr 141 arch/x86/math-emu/reg_divide.c return real_2op_NaN(st0_ptr, tag, rm, st0_ptr 142 arch/x86/math-emu/reg_divide.c (flags & REV) ? st0_ptr : &st(rm)); st0_ptr 149 arch/x86/math-emu/reg_divide.c (flags & REV) ? st0_ptr : &st(rm)); st0_ptr 214 arch/x86/math-emu/reg_ld_str.c FPU_REG *st0_ptr = &st(0); st0_ptr 223 arch/x86/math-emu/reg_ld_str.c reg_copy(&CONST_Z, st0_ptr); st0_ptr 234 arch/x86/math-emu/reg_ld_str.c significand(st0_ptr) = s; st0_ptr 236 arch/x86/math-emu/reg_ld_str.c return normalize_no_excep(st0_ptr, 63, sign); st0_ptr 300 arch/x86/math-emu/reg_ld_str.c FPU_REG *st0_ptr = &st(0); st0_ptr 325 arch/x86/math-emu/reg_ld_str.c reg_copy(&CONST_Z, st0_ptr); st0_ptr 326 arch/x86/math-emu/reg_ld_str.c addexponent(st0_ptr, sign); /* Set the sign. */ st0_ptr 329 arch/x86/math-emu/reg_ld_str.c significand(st0_ptr) = l; st0_ptr 330 arch/x86/math-emu/reg_ld_str.c return normalize_no_excep(st0_ptr, 63, sign); st0_ptr 337 arch/x86/math-emu/reg_ld_str.c int FPU_store_extended(FPU_REG *st0_ptr, u_char st0_tag, st0_ptr 350 arch/x86/math-emu/reg_ld_str.c FPU_put_user(st0_ptr->sigl, (unsigned long __user *)d); st0_ptr 351 arch/x86/math-emu/reg_ld_str.c FPU_put_user(st0_ptr->sigh, st0_ptr 353 arch/x86/math-emu/reg_ld_str.c FPU_put_user(exponent16(st0_ptr), st0_ptr 379 arch/x86/math-emu/reg_ld_str.c int FPU_store_double(FPU_REG *st0_ptr, u_char st0_tag, double __user *dfloat) st0_ptr 390 arch/x86/math-emu/reg_ld_str.c reg_copy(st0_ptr, &tmp); st0_ptr 404 arch/x86/math-emu/reg_ld_str.c && (st0_ptr->sigl & 0x000007ff))) st0_ptr 496 arch/x86/math-emu/reg_ld_str.c st0_tag = FPU_Special(st0_ptr); st0_ptr 506 arch/x86/math-emu/reg_ld_str.c reg_copy(st0_ptr, &tmp); st0_ptr 512 arch/x86/math-emu/reg_ld_str.c if ((exponent(st0_ptr) == EXP_OVER) st0_ptr 513 arch/x86/math-emu/reg_ld_str.c && (st0_ptr->sigh & 0x80000000)) { st0_ptr 516 arch/x86/math-emu/reg_ld_str.c (st0_ptr->sigl >> 11) | (st0_ptr-> st0_ptr 518 arch/x86/math-emu/reg_ld_str.c l[1] = ((st0_ptr->sigh >> 11) & 0xfffff); st0_ptr 519 arch/x86/math-emu/reg_ld_str.c if (!(st0_ptr->sigh & 0x40000000)) { st0_ptr 551 arch/x86/math-emu/reg_ld_str.c if (getsign(st0_ptr)) st0_ptr 564 arch/x86/math-emu/reg_ld_str.c int FPU_store_single(FPU_REG *st0_ptr, u_char st0_tag, float __user *single) st0_ptr 574 arch/x86/math-emu/reg_ld_str.c reg_copy(st0_ptr, &tmp); st0_ptr 589 arch/x86/math-emu/reg_ld_str.c ((st0_ptr->sigh & 0x000000ff) st0_ptr 590 arch/x86/math-emu/reg_ld_str.c || st0_ptr->sigl))) st0_ptr 677 arch/x86/math-emu/reg_ld_str.c st0_tag = FPU_Special(st0_ptr); st0_ptr 679 arch/x86/math-emu/reg_ld_str.c reg_copy(st0_ptr, &tmp); st0_ptr 694 arch/x86/math-emu/reg_ld_str.c if ((exponent(st0_ptr) == EXP_OVER) st0_ptr 695 arch/x86/math-emu/reg_ld_str.c && (st0_ptr->sigh & 0x80000000)) { st0_ptr 697 arch/x86/math-emu/reg_ld_str.c templ = st0_ptr->sigh >> 8; st0_ptr 698 arch/x86/math-emu/reg_ld_str.c if (!(st0_ptr->sigh & 0x40000000)) { st0_ptr 741 arch/x86/math-emu/reg_ld_str.c if (getsign(st0_ptr)) st0_ptr 753 arch/x86/math-emu/reg_ld_str.c int FPU_store_int64(FPU_REG *st0_ptr, u_char st0_tag, long long __user *d) st0_ptr 764 arch/x86/math-emu/reg_ld_str.c st0_tag = FPU_Special(st0_ptr); st0_ptr 771 arch/x86/math-emu/reg_ld_str.c reg_copy(st0_ptr, &t); st0_ptr 803 arch/x86/math-emu/reg_ld_str.c int FPU_store_int32(FPU_REG *st0_ptr, u_char st0_tag, long __user *d) st0_ptr 813 arch/x86/math-emu/reg_ld_str.c st0_tag = FPU_Special(st0_ptr); st0_ptr 820 arch/x86/math-emu/reg_ld_str.c reg_copy(st0_ptr, &t); st0_ptr 849 arch/x86/math-emu/reg_ld_str.c int FPU_store_int16(FPU_REG *st0_ptr, u_char st0_tag, short __user *d) st0_ptr 859 arch/x86/math-emu/reg_ld_str.c st0_tag = FPU_Special(st0_ptr); st0_ptr 866 arch/x86/math-emu/reg_ld_str.c reg_copy(st0_ptr, &t); st0_ptr 895 arch/x86/math-emu/reg_ld_str.c int FPU_store_bcd(FPU_REG *st0_ptr, u_char st0_tag, u_char __user *d) st0_ptr 901 arch/x86/math-emu/reg_ld_str.c u_char sign = (getsign(st0_ptr) == SIGN_NEG) ? 0x80 : 0; st0_ptr 908 arch/x86/math-emu/reg_ld_str.c st0_tag = FPU_Special(st0_ptr); st0_ptr 915 arch/x86/math-emu/reg_ld_str.c reg_copy(st0_ptr, &t);