Home
last modified time | relevance | path

Searched refs:FPU_REG (Results 1 – 22 of 22) sorted by relevance

/arch/x86/math-emu/
Dfpu_proto.h8 extern int real_1op_NaN(FPU_REG *a);
9 extern int real_2op_NaN(FPU_REG const *b, u_char tagb, int deststnr,
10 FPU_REG const *defaultNaN);
17 asmlinkage int arith_overflow(FPU_REG *dest);
18 asmlinkage int arith_underflow(FPU_REG *dest);
65 extern int FPU_Special(FPU_REG const *ptr);
66 extern int isNaN(FPU_REG const *ptr);
69 extern int FPU_stackoverflow(FPU_REG ** st_new_ptr);
70 extern void FPU_copy_to_regi(FPU_REG const *r, u_char tag, int stnr);
71 extern void FPU_copy_to_reg1(FPU_REG const *r, u_char tag);
[all …]
Dreg_constant.h14 extern FPU_REG const CONST_1;
15 extern FPU_REG const CONST_PI;
16 extern FPU_REG const CONST_PI2;
17 extern FPU_REG const CONST_PI2extra;
18 extern FPU_REG const CONST_PI4;
19 extern FPU_REG const CONST_Z;
20 extern FPU_REG const CONST_PINF;
21 extern FPU_REG const CONST_INF;
22 extern FPU_REG const CONST_MINF;
23 extern FPU_REG const CONST_QNaN;
Dreg_constant.c22 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);
27 static FPU_REG const CONST_L2T = MAKE_REG(POS, 1, 0xcd1b8afe, 0xd49a784b);
28 static FPU_REG const CONST_L2E = MAKE_REG(POS, 0, 0x5c17f0bc, 0xb8aa3b29);
29 FPU_REG const CONST_PI = MAKE_REG(POS, 1, 0x2168c235, 0xc90fdaa2);
30 FPU_REG const CONST_PI2 = MAKE_REG(POS, 0, 0x2168c235, 0xc90fdaa2);
31 FPU_REG const CONST_PI4 = MAKE_REG(POS, -1, 0x2168c235, 0xc90fdaa2);
32 static FPU_REG const CONST_LG2 = MAKE_REG(POS, -2, 0xfbcff799, 0x9a209a84);
33 static FPU_REG const CONST_LN2 = MAKE_REG(POS, -1, 0xd1cf79ac, 0xb17217f7);
[all …]
Dfpu_emu.h124 typedef struct fpu__reg FPU_REG; typedef
125 typedef void (*FUNC_ST0) (FPU_REG *st0_ptr, u_char st0_tag);
145 #define fpu_register(x) ( * ((FPU_REG *)( register_base + 10 * (x & 7) )) )
146 #define st(x) ( * ((FPU_REG *)( register_base + 10 * ((top+x) & 7) )) )
169 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 …]
Dfpu_tags.c61 int FPU_Special(FPU_REG const *ptr) in FPU_Special()
74 int isNaN(FPU_REG const *ptr) in isNaN()
87 int FPU_stackoverflow(FPU_REG ** st_new_ptr) in FPU_stackoverflow()
94 void FPU_copy_to_regi(FPU_REG const *r, u_char tag, int stnr) in FPU_copy_to_regi()
100 void FPU_copy_to_reg1(FPU_REG const *r, u_char tag) in FPU_copy_to_reg1()
106 void FPU_copy_to_reg0(FPU_REG const *r, u_char tag) in FPU_copy_to_reg0()
Dreg_add_sub.c28 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()
102 FPU_REG x, y; in FPU_add()
130 FPU_REG const *a, *b; in FPU_sub()
131 FPU_REG *dest; in FPU_sub()
140 b = (FPU_REG *) rm; in FPU_sub()
[all …]
Dpoly_l2.c20 static void log2_kernel(FPU_REG const *arg, u_char argsign,
26 void poly_l2(FPU_REG *st0_ptr, FPU_REG *st1_ptr, u_char st1_sign) in poly_l2()
31 FPU_REG x; in poly_l2()
106 FPU_REG * st0_ptr, FPU_REG * st1_ptr, FPU_REG * dest) in poly_l2p1()
181 static void log2_kernel(FPU_REG const *arg, u_char argsign, Xsig *accum_result, in log2_kernel()
Dfpu_trig.c33 static int trig_arg(FPU_REG *st0_ptr, int even) in trig_arg()
35 FPU_REG tmp; in trig_arg()
156 FPU_REG *dest = &st(deststnr); in convert_l2reg()
179 static void single_arg_error(FPU_REG *st0_ptr, u_char st0_tag) in single_arg_error()
191 static void single_arg_2_error(FPU_REG *st0_ptr, u_char st0_tag) in single_arg_2_error()
232 static void f2xm1(FPU_REG *st0_ptr, u_char tag) in f2xm1()
234 FPU_REG a; in f2xm1()
275 static void fptan(FPU_REG *st0_ptr, u_char st0_tag) in fptan()
277 FPU_REG *st_new_ptr; in fptan()
354 static void fxtract(FPU_REG *st0_ptr, u_char st0_tag) in fxtract()
[all …]
Dreg_divide.c29 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()
45 a = (FPU_REG *) rm; in FPU_div()
57 b = (FPU_REG *) rm; in FPU_div()
132 return real_2op_NaN((FPU_REG *) rm, flags & 0x0f, 0, in FPU_div()
Dfpu_etc.c19 static void fchs(FPU_REG *st0_ptr, u_char st0tag) in fchs()
28 static void fabs(FPU_REG *st0_ptr, u_char st0tag) in fabs()
37 static void ftst_(FPU_REG *st0_ptr, u_char st0tag) in ftst_()
88 static void fxam(FPU_REG *st0_ptr, u_char st0tag) in fxam()
Dreg_mul.c29 int FPU_mul(FPU_REG const *b, u_char tagb, int deststnr, int control_w) in FPU_mul()
31 FPU_REG *a = &st(deststnr); in FPU_mul()
32 FPU_REG *dest = a; in FPU_mul()
60 FPU_REG x, y; in FPU_mul()
Dreg_convert.c16 int FPU_to_exp16(FPU_REG const *a, FPU_REG *x) in FPU_to_exp16()
Dreg_ld_str.c38 static u_char normalize_no_excep(FPU_REG *r, int exp, int sign) in normalize_no_excep()
52 int FPU_tagof(FPU_REG *ptr) in FPU_tagof()
83 FPU_REG *sti_ptr = &st(stnr); in FPU_load_extended()
94 int FPU_load_double(double __user *dfloat, FPU_REG *loaded_data) in FPU_load_double()
155 int FPU_load_single(float __user *single, FPU_REG *loaded_data) in FPU_load_single()
213 FPU_REG *st0_ptr = &st(0); in FPU_load_int64()
239 int FPU_load_int32(long __user *_s, FPU_REG *loaded_data) in FPU_load_int32()
268 int FPU_load_int16(short __user *_s, FPU_REG *loaded_data) in FPU_load_int16()
299 FPU_REG *st0_ptr = &st(0); in FPU_load_bcd()
336 int FPU_store_extended(FPU_REG *st0_ptr, u_char st0_tag, in FPU_store_extended()
[all …]
Derrors.c178 FPU_REG *r = &st(i); in FPU_printall()
372 int real_1op_NaN(FPU_REG *a) in real_1op_NaN()
411 int real_2op_NaN(FPU_REG const *b, u_char tagb, in real_2op_NaN()
412 int deststnr, FPU_REG const *defaultNaN) in real_2op_NaN()
414 FPU_REG *dest = &st(deststnr); in real_2op_NaN()
415 FPU_REG const *a = dest; in real_2op_NaN()
417 FPU_REG const *x; in real_2op_NaN()
512 FPU_REG *dest = &st(deststnr); in FPU_divide_by_zero()
571 asmlinkage __visible int arith_overflow(FPU_REG *dest) in arith_overflow()
599 asmlinkage __visible int arith_underflow(FPU_REG *dest) in arith_underflow()
Dreg_compare.c23 static int compare(FPU_REG const *b, int tagb) in compare()
27 FPU_REG *st0_ptr; in compare()
28 FPU_REG x, y; in compare()
169 int FPU_compare_st_data(FPU_REG const *loaded_data, u_char loaded_tag) in FPU_compare_st_data()
209 FPU_REG *st_ptr; in compare_st_st()
255 FPU_REG *st_ptr; in compare_u_st_st()
Dfpu_aux.c103 FPU_REG *st_new_ptr; in fld_i_()
132 FPU_REG t; in fxch_i()
134 FPU_REG *st0_ptr = &st(0), *sti_ptr = &st(i); in fxch_i()
Dpoly_2xm1.c52 int poly_2xm1(u_char sign, FPU_REG *arg, FPU_REG *result) in poly_2xm1()
Dpoly_sin.c57 void poly_sine(FPU_REG *st0_ptr) in poly_sine()
63 FPU_REG result; in poly_sine()
200 void poly_cos(FPU_REG *st0_ptr) in poly_cos()
202 FPU_REG result; in poly_cos()
Dpoly_atan.c51 void poly_atan(FPU_REG *st0_ptr, u_char st0_tag, in poly_atan()
52 FPU_REG *st1_ptr, u_char st1_tag) in poly_atan()
Dload_store.c64 FPU_REG loaded_data; in FPU_load_store()
65 FPU_REG *st0_ptr; in FPU_load_store()
Dpoly_tan.c50 void poly_tan(FPU_REG *st0_ptr) in poly_tan()
Dfpu_entry.c141 FPU_REG loaded_data; in math_emulate()
142 FPU_REG *st0_ptr; in math_emulate()
721 FPU_tagof((FPU_REG *) ((u_char *) S387->st_space + in fpregs_soft_set()