/linux-2.4.37.9/arch/i386/math-emu/ |
D | fpu_proto.h | 9 extern int real_1op_NaN(FPU_REG *a); 10 extern int real_2op_NaN(FPU_REG const *b, u_char tagb, int deststnr, 11 FPU_REG const *defaultNaN); 18 extern int arith_overflow(FPU_REG *dest); 19 extern int arith_underflow(FPU_REG *dest); 67 extern int FPU_Special(FPU_REG const *ptr); 68 extern int isNaN(FPU_REG const *ptr); 71 extern int FPU_stackoverflow(FPU_REG **st_new_ptr); 73 extern void FPU_copy_to_regi(FPU_REG const *r, u_char tag, int stnr); 74 extern void FPU_copy_to_reg1(FPU_REG const *r, u_char tag); [all …]
|
D | reg_constant.h | 14 extern FPU_REG const CONST_1; 15 extern FPU_REG const CONST_2; 16 extern FPU_REG const CONST_HALF; 17 extern FPU_REG const CONST_L2T; 18 extern FPU_REG const CONST_L2E; 19 extern FPU_REG const CONST_PI; 20 extern FPU_REG const CONST_PI2; 21 extern FPU_REG const CONST_PI2extra; 22 extern FPU_REG const CONST_PI4; 23 extern FPU_REG const CONST_LG2; [all …]
|
D | reg_constant.c | 23 FPU_REG const CONST_1 = MAKE_REG(POS, 0, 0x00000000, 0x80000000); 24 FPU_REG const CONST_2 = MAKE_REG(POS, 1, 0x00000000, 0x80000000); 25 FPU_REG const CONST_HALF = MAKE_REG(POS, -1, 0x00000000, 0x80000000); 26 FPU_REG const CONST_L2T = MAKE_REG(POS, 1, 0xcd1b8afe, 0xd49a784b); 27 FPU_REG const CONST_L2E = MAKE_REG(POS, 0, 0x5c17f0bc, 0xb8aa3b29); 28 FPU_REG const CONST_PI = MAKE_REG(POS, 1, 0x2168c235, 0xc90fdaa2); 29 FPU_REG const CONST_PI2 = MAKE_REG(POS, 0, 0x2168c235, 0xc90fdaa2); 30 FPU_REG const CONST_PI4 = MAKE_REG(POS, -1, 0x2168c235, 0xc90fdaa2); 31 FPU_REG const CONST_LG2 = MAKE_REG(POS, -2, 0xfbcff799, 0x9a209a84); 32 FPU_REG const CONST_LN2 = MAKE_REG(POS, -1, 0xd1cf79ac, 0xb17217f7); [all …]
|
D | fpu_emu.h | 126 typedef struct fpu__reg FPU_REG; typedef 127 typedef void (*FUNC_ST0)(FPU_REG *st0_ptr, u_char st0_tag); 144 #define fpu_register(x) ( * ((FPU_REG *)( register_base + 10 * (x & 7) )) ) 145 #define st(x) ( * ((FPU_REG *)( register_base + 10 * ((top+x) & 7) )) ) 168 static inline void reg_copy(FPU_REG const *x, FPU_REG *y) in reg_copy() 190 asmlinkage int FPU_normalize(FPU_REG *x); 191 asmlinkage int FPU_normalize_nuo(FPU_REG *x); 192 asmlinkage int FPU_u_sub(FPU_REG const *arg1, FPU_REG const *arg2, 193 FPU_REG *answ, unsigned int control_w, u_char sign, 195 asmlinkage int FPU_u_mul(FPU_REG const *arg1, FPU_REG const *arg2, [all …]
|
D | reg_add_sub.c | 28 int add_sub_specials(FPU_REG const *a, u_char taga, u_char signa, 29 FPU_REG const *b, u_char tagb, u_char signb, 30 FPU_REG *dest, int deststnr, int control_w); 36 int FPU_add(FPU_REG const *b, u_char tagb, int deststnr, int control_w) in FPU_add() 38 FPU_REG *a = &st(0); in FPU_add() 39 FPU_REG *dest = &st(deststnr); in FPU_add() 110 FPU_REG x, y; in FPU_add() 140 FPU_REG const *a, *b; in FPU_sub() 141 FPU_REG *dest; in FPU_sub() 151 b = (FPU_REG *)rm; in FPU_sub() [all …]
|
D | fpu_tags.c | 69 int FPU_Special(FPU_REG const *ptr) in FPU_Special() 83 int isNaN(FPU_REG const *ptr) in isNaN() 98 int FPU_stackoverflow(FPU_REG **st_new_ptr) in FPU_stackoverflow() 106 void FPU_copy_to_regi(FPU_REG const *r, u_char tag, int stnr) in FPU_copy_to_regi() 112 void FPU_copy_to_reg1(FPU_REG const *r, u_char tag) in FPU_copy_to_reg1() 118 void FPU_copy_to_reg0(FPU_REG const *r, u_char tag) in FPU_copy_to_reg0()
|
D | fpu_trig.c | 34 static int trig_arg(FPU_REG *st0_ptr, int even) in trig_arg() 36 FPU_REG tmp; in trig_arg() 157 FPU_REG *dest = &st(deststnr); in convert_l2reg() 180 static void single_arg_error(FPU_REG *st0_ptr, u_char st0_tag) in single_arg_error() 193 static void single_arg_2_error(FPU_REG *st0_ptr, u_char st0_tag) in single_arg_2_error() 242 static void f2xm1(FPU_REG *st0_ptr, u_char tag) in f2xm1() 244 FPU_REG a; in f2xm1() 290 static void fptan(FPU_REG *st0_ptr, u_char st0_tag) in fptan() 292 FPU_REG *st_new_ptr; in fptan() 378 static void fxtract(FPU_REG *st0_ptr, u_char st0_tag) in fxtract() [all …]
|
D | poly_l2.c | 22 static void log2_kernel(FPU_REG const *arg, u_char argsign, 29 void poly_l2(FPU_REG *st0_ptr, FPU_REG *st1_ptr, u_char st1_sign) in poly_l2() 34 FPU_REG x; in poly_l2() 120 FPU_REG *st0_ptr, FPU_REG *st1_ptr, FPU_REG *dest) in poly_l2p1() 203 static void log2_kernel(FPU_REG const *arg, u_char argsign, Xsig *accum_result, in log2_kernel()
|
D | reg_ld_str.c | 40 static u_char normalize_no_excep(FPU_REG *r, int exp, int sign) in normalize_no_excep() 55 int FPU_tagof(FPU_REG *ptr) in FPU_tagof() 91 FPU_REG *sti_ptr = &st(stnr); in FPU_load_extended() 103 int FPU_load_double(double *dfloat, FPU_REG *loaded_data) in FPU_load_double() 175 int FPU_load_single(float *single, FPU_REG *loaded_data) in FPU_load_single() 243 FPU_REG *st0_ptr = &st(0); in FPU_load_int64() 271 int FPU_load_int32(long *_s, FPU_REG *loaded_data) in FPU_load_int32() 300 int FPU_load_int16(short *_s, FPU_REG *loaded_data) in FPU_load_int16() 331 FPU_REG *st0_ptr = &st(0); in FPU_load_bcd() 372 int FPU_store_extended(FPU_REG *st0_ptr, u_char st0_tag, long double *d) in FPU_store_extended() [all …]
|
D | reg_divide.c | 29 FPU_REG x, y; in FPU_div() 30 FPU_REG const *a, *b, *st0_ptr, *st_ptr; in FPU_div() 31 FPU_REG *dest; in FPU_div() 47 a = (FPU_REG *)rm; in FPU_div() 64 b = (FPU_REG *)rm; in FPU_div() 149 return real_2op_NaN((FPU_REG *)rm, flags & 0x0f, 0, st0_ptr); in FPU_div()
|
D | errors.c | 168 FPU_REG *r = &st(i); in FPU_printall() 373 int real_1op_NaN(FPU_REG *a) in real_1op_NaN() 417 int real_2op_NaN(FPU_REG const *b, u_char tagb, in real_2op_NaN() 419 FPU_REG const *defaultNaN) in real_2op_NaN() 421 FPU_REG *dest = &st(deststnr); in real_2op_NaN() 422 FPU_REG const *a = dest; in real_2op_NaN() 424 FPU_REG const *x; in real_2op_NaN() 530 FPU_REG *dest = &st(deststnr); in FPU_divide_by_zero() 603 asmlinkage int arith_overflow(FPU_REG *dest) in arith_overflow() 636 asmlinkage int arith_underflow(FPU_REG *dest) in arith_underflow()
|
D | fpu_etc.c | 20 static void fchs(FPU_REG *st0_ptr, u_char st0tag) in fchs() 32 static void fabs(FPU_REG *st0_ptr, u_char st0tag) in fabs() 44 static void ftst_(FPU_REG *st0_ptr, u_char st0tag) in ftst_() 99 static void fxam(FPU_REG *st0_ptr, u_char st0tag) in fxam()
|
D | reg_mul.c | 30 int FPU_mul(FPU_REG const *b, u_char tagb, int deststnr, int control_w) in FPU_mul() 32 FPU_REG *a = &st(deststnr); in FPU_mul() 33 FPU_REG *dest = a; in FPU_mul() 63 FPU_REG x, y; in FPU_mul()
|
D | reg_compare.c | 24 static int compare(FPU_REG const *b, int tagb) in compare() 28 FPU_REG *st0_ptr; in compare() 29 FPU_REG x, y; in compare() 175 int FPU_compare_st_data(FPU_REG const *loaded_data, u_char loaded_tag) in FPU_compare_st_data() 220 FPU_REG *st_ptr; in compare_st_st() 272 FPU_REG *st_ptr; in compare_u_st_st()
|
D | reg_convert.c | 17 int FPU_to_exp16(FPU_REG const *a, FPU_REG *x) in FPU_to_exp16()
|
D | fpu_aux.c | 97 FPU_REG *st_new_ptr; in fld_i_() 130 FPU_REG t; in fxch_i() 132 FPU_REG *st0_ptr = &st(0), *sti_ptr = &st(i); in fxch_i()
|
D | poly_sin.c | 66 void poly_sine(FPU_REG *st0_ptr) in poly_sine() 72 FPU_REG result; in poly_sine() 211 void poly_cos(FPU_REG *st0_ptr) in poly_cos() 213 FPU_REG result; in poly_cos()
|
D | poly_2xm1.c | 54 int poly_2xm1(u_char sign, FPU_REG *arg, FPU_REG *result) in poly_2xm1()
|
D | load_store.c | 66 FPU_REG loaded_data; in FPU_load_store() 67 FPU_REG *st0_ptr; in FPU_load_store()
|
D | poly_atan.c | 55 void poly_atan(FPU_REG *st0_ptr, u_char st0_tag, in poly_atan() 56 FPU_REG *st1_ptr, u_char st1_tag) in poly_atan()
|
D | fpu_entry.c | 139 FPU_REG loaded_data; in math_emulate() 140 FPU_REG *st0_ptr; in math_emulate() 716 tag = FPU_tagof((FPU_REG *)((u_char *)S387->st_space + 10*regnr)); in restore_i387_soft()
|
D | poly_tan.c | 56 void poly_tan(FPU_REG *st0_ptr) in poly_tan()
|