Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/math-emu/
Dfpu_proto.h9 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 asmlinkage int arith_overflow(FPU_REG *dest);
19 asmlinkage int arith_underflow(FPU_REG *dest);
74 extern int FPU_Special(FPU_REG const *ptr);
75 extern int isNaN(FPU_REG const *ptr);
78 extern int FPU_stackoverflow(FPU_REG ** st_new_ptr);
79 extern void FPU_copy_to_regi(FPU_REG const *r, u_char tag, int stnr);
80 extern void FPU_copy_to_reg1(FPU_REG const *r, u_char tag);
[all …]
Dreg_constant.c23 FPU_REG const CONST_1 = MAKE_REG(POS, 0, 0x00000000, 0x80000000);
25 FPU_REG const CONST_2 = MAKE_REG(POS, 1, 0x00000000, 0x80000000);
26 FPU_REG const CONST_HALF = MAKE_REG(POS, -1, 0x00000000, 0x80000000);
28 static FPU_REG const CONST_L2T = MAKE_REG(POS, 1, 0xcd1b8afe, 0xd49a784b);
29 static FPU_REG const CONST_L2E = MAKE_REG(POS, 0, 0x5c17f0bc, 0xb8aa3b29);
30 FPU_REG const CONST_PI = MAKE_REG(POS, 1, 0x2168c235, 0xc90fdaa2);
31 FPU_REG const CONST_PI2 = MAKE_REG(POS, 0, 0x2168c235, 0xc90fdaa2);
32 FPU_REG const CONST_PI4 = MAKE_REG(POS, -1, 0x2168c235, 0xc90fdaa2);
33 static FPU_REG const CONST_LG2 = MAKE_REG(POS, -2, 0xfbcff799, 0x9a209a84);
34 static FPU_REG const CONST_LN2 = MAKE_REG(POS, -1, 0xd1cf79ac, 0xb17217f7);
[all …]
Dreg_constant.h15 extern FPU_REG const CONST_1;
16 extern FPU_REG const CONST_PI;
17 extern FPU_REG const CONST_PI2;
18 extern FPU_REG const CONST_PI2extra;
19 extern FPU_REG const CONST_PI4;
20 extern FPU_REG const CONST_Z;
21 extern FPU_REG const CONST_PINF;
22 extern FPU_REG const CONST_INF;
23 extern FPU_REG const CONST_MINF;
24 extern FPU_REG const CONST_QNaN;
Dfpu_emu.h125 typedef struct fpu__reg FPU_REG; typedef
126 typedef void (*FUNC_ST0) (FPU_REG *st0_ptr, u_char st0_tag);
146 #define fpu_register(x) ( * ((FPU_REG *)( register_base + 10 * (x & 7) )) )
147 #define st(x) ( * ((FPU_REG *)( register_base + 10 * ((top+x) & 7) )) )
170 static inline void reg_copy(FPU_REG const *x, FPU_REG *y) in reg_copy()
191 asmlinkage int FPU_normalize(FPU_REG *x);
192 asmlinkage int FPU_normalize_nuo(FPU_REG *x);
193 asmlinkage int FPU_u_sub(FPU_REG const *arg1, FPU_REG const *arg2,
194 FPU_REG * answ, unsigned int control_w, u_char sign,
196 asmlinkage int FPU_u_mul(FPU_REG const *arg1, FPU_REG const *arg2,
[all …]
Dreg_add_sub.c29 int add_sub_specials(FPU_REG const *a, u_char taga, u_char signa,
30 FPU_REG const *b, u_char tagb, u_char signb,
31 FPU_REG * dest, int deststnr, int control_w);
37 int FPU_add(FPU_REG const *b, u_char tagb, int deststnr, int control_w) in FPU_add()
39 FPU_REG *a = &st(0); in FPU_add()
40 FPU_REG *dest = &st(deststnr); in FPU_add()
103 FPU_REG x, y; in FPU_add()
131 FPU_REG const *a, *b; in FPU_sub()
132 FPU_REG *dest; in FPU_sub()
141 b = (FPU_REG *) rm; in FPU_sub()
[all …]
Dfpu_tags.c62 int FPU_Special(FPU_REG const *ptr) in FPU_Special()
75 int isNaN(FPU_REG const *ptr) in isNaN()
88 int FPU_stackoverflow(FPU_REG ** st_new_ptr) in FPU_stackoverflow()
95 void FPU_copy_to_regi(FPU_REG const *r, u_char tag, int stnr) in FPU_copy_to_regi()
101 void FPU_copy_to_reg1(FPU_REG const *r, u_char tag) in FPU_copy_to_reg1()
107 void FPU_copy_to_reg0(FPU_REG const *r, u_char tag) in FPU_copy_to_reg0()
Dfpu_trig.c34 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()
192 static void single_arg_2_error(FPU_REG *st0_ptr, u_char st0_tag) in single_arg_2_error()
233 static void f2xm1(FPU_REG *st0_ptr, u_char tag) in f2xm1()
235 FPU_REG a; in f2xm1()
276 static void fptan(FPU_REG *st0_ptr, u_char st0_tag) in fptan()
278 FPU_REG *st_new_ptr; in fptan()
355 static void fxtract(FPU_REG *st0_ptr, u_char st0_tag) in fxtract()
[all …]
Dpoly_l2.c21 static void log2_kernel(FPU_REG const *arg, u_char argsign,
27 void poly_l2(FPU_REG *st0_ptr, FPU_REG *st1_ptr, u_char st1_sign) in poly_l2()
32 FPU_REG x; in poly_l2()
107 FPU_REG * st0_ptr, FPU_REG * st1_ptr, FPU_REG * dest) in poly_l2p1()
182 static void log2_kernel(FPU_REG const *arg, u_char argsign, Xsig *accum_result, in log2_kernel()
Dreg_ld_str.c39 static u_char normalize_no_excep(FPU_REG *r, int exp, int sign) in normalize_no_excep()
53 int FPU_tagof(FPU_REG *ptr) in FPU_tagof()
84 FPU_REG *sti_ptr = &st(stnr); in FPU_load_extended()
95 int FPU_load_double(double __user *dfloat, FPU_REG *loaded_data) in FPU_load_double()
156 int FPU_load_single(float __user *single, FPU_REG *loaded_data) in FPU_load_single()
214 FPU_REG *st0_ptr = &st(0); in FPU_load_int64()
240 int FPU_load_int32(long __user *_s, FPU_REG *loaded_data) in FPU_load_int32()
269 int FPU_load_int16(short __user *_s, FPU_REG *loaded_data) in FPU_load_int16()
300 FPU_REG *st0_ptr = &st(0); in FPU_load_bcd()
337 int FPU_store_extended(FPU_REG *st0_ptr, u_char st0_tag, in FPU_store_extended()
[all …]
Dreg_divide.c30 FPU_REG x, y; in FPU_div()
31 FPU_REG const *a, *b, *st0_ptr, *st_ptr; in FPU_div()
32 FPU_REG *dest; in FPU_div()
46 a = (FPU_REG *) rm; in FPU_div()
58 b = (FPU_REG *) rm; in FPU_div()
133 return real_2op_NaN((FPU_REG *) rm, flags & 0x0f, 0, in FPU_div()
Derrors.c179 FPU_REG *r = &st(i); in FPU_printall()
374 int real_1op_NaN(FPU_REG *a) in real_1op_NaN()
413 int real_2op_NaN(FPU_REG const *b, u_char tagb, in real_2op_NaN()
414 int deststnr, FPU_REG const *defaultNaN) in real_2op_NaN()
416 FPU_REG *dest = &st(deststnr); in real_2op_NaN()
417 FPU_REG const *a = dest; in real_2op_NaN()
419 FPU_REG const *x; in real_2op_NaN()
514 FPU_REG *dest = &st(deststnr); in FPU_divide_by_zero()
573 asmlinkage __visible int arith_overflow(FPU_REG *dest) in arith_overflow()
601 asmlinkage __visible int arith_underflow(FPU_REG *dest) in arith_underflow()
Dfpu_etc.c20 static void fchs(FPU_REG *st0_ptr, u_char st0tag) in fchs()
29 static void fabs(FPU_REG *st0_ptr, u_char st0tag) in fabs()
38 static void ftst_(FPU_REG *st0_ptr, u_char st0tag) in ftst_()
89 static void fxam(FPU_REG *st0_ptr, u_char st0tag) in fxam()
Dreg_compare.c24 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()
170 int FPU_compare_st_data(FPU_REG const *loaded_data, u_char loaded_tag) in FPU_compare_st_data()
210 FPU_REG *st_ptr; in compare_st_st()
256 FPU_REG *st_ptr; in compare_i_st_st()
304 FPU_REG *st_ptr; in compare_u_st_st()
354 FPU_REG *st_ptr; in compare_ui_st_st()
Dreg_mul.c30 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()
61 FPU_REG x, y; in FPU_mul()
Dfpu_aux.c104 FPU_REG *st_new_ptr; in fld_i_()
133 FPU_REG t; in fxch_i()
135 FPU_REG *st0_ptr = &st(0), *sti_ptr = &st(i); in fxch_i()
177 FPU_REG *st0_ptr = &st(0); in fcmovCC()
178 FPU_REG *sti_ptr = &st(i); in fcmovCC()
Dreg_convert.c17 int FPU_to_exp16(FPU_REG const *a, FPU_REG *x) in FPU_to_exp16()
Dpoly_sin.c58 void poly_sine(FPU_REG *st0_ptr) in poly_sine()
64 FPU_REG result; in poly_sine()
201 void poly_cos(FPU_REG *st0_ptr) in poly_cos()
203 FPU_REG result; in poly_cos()
Dpoly_2xm1.c53 int poly_2xm1(u_char sign, FPU_REG *arg, FPU_REG *result) in poly_2xm1()
Dpoly_atan.c52 void poly_atan(FPU_REG *st0_ptr, u_char st0_tag, in poly_atan()
53 FPU_REG *st1_ptr, u_char st1_tag) in poly_atan()
Dload_store.c70 FPU_REG loaded_data; in FPU_load_store()
71 FPU_REG *st0_ptr; in FPU_load_store()
Dfpu_entry.c107 FPU_REG loaded_data; in math_emulate()
108 FPU_REG *st0_ptr; in math_emulate()
679 FPU_tagof((FPU_REG *) ((u_char *) S387->st_space + in fpregs_soft_set()
Dpoly_tan.c51 void poly_tan(FPU_REG *st0_ptr) in poly_tan()