Home
last modified time | relevance | path

Searched refs:st0_tag (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/arch/x86/math-emu/
Dfpu_trig.c40 int tag, st0_tag = TAG_Valid; in trig_arg() local
63 st0_tag = FPU_normalize(&tmp); in trig_arg()
64 FPU_copy_to_reg0(&tmp, st0_tag); in trig_arg()
68 st0_tag = in trig_arg()
91 st0_tag = FPU_add(&tmp, tmptag, 0, FULL_PRECISION); in trig_arg()
124 st0_tag = FPU_sub(LOADED | (tmptag & 0x0f), (int)&tmp, in trig_arg()
135 st0_tag = in trig_arg()
144 FPU_settag0(st0_tag); in trig_arg()
180 static void single_arg_error(FPU_REG *st0_ptr, u_char st0_tag) in single_arg_error() argument
182 if (st0_tag == TAG_Empty) in single_arg_error()
[all …]
Dload_store.c72 u_char st0_tag = TAG_Empty; /* This is just to stop a gcc warning. */ in FPU_load_store() local
98 st0_tag = FPU_gettag0(); in FPU_load_store()
166 (st0_ptr, st0_tag, (long __user *)data_address)) in FPU_load_store()
176 (st0_ptr, st0_tag, (long long __user *)data_address)) in FPU_load_store()
186 (st0_ptr, st0_tag, (short __user *)data_address)) in FPU_load_store()
193 FPU_store_single(st0_ptr, st0_tag, in FPU_load_store()
198 FPU_store_int32(st0_ptr, st0_tag, (long __user *)data_address); in FPU_load_store()
202 FPU_store_double(st0_ptr, st0_tag, in FPU_load_store()
207 FPU_store_int16(st0_ptr, st0_tag, (short __user *)data_address); in FPU_load_store()
212 (st0_ptr, st0_tag, (float __user *)data_address)) in FPU_load_store()
[all …]
Dreg_ld_str.c337 int FPU_store_extended(FPU_REG *st0_ptr, u_char st0_tag, in FPU_store_extended() argument
346 if (st0_tag != TAG_Empty) { in FPU_store_extended()
379 int FPU_store_double(FPU_REG *st0_ptr, u_char st0_tag, double __user *dfloat) in FPU_store_double() argument
389 if (st0_tag == TAG_Valid) { in FPU_store_double()
396 if ((precision_loss = FPU_round_to_int(&tmp, st0_tag))) { in FPU_store_double()
493 } else if (st0_tag == TAG_Zero) { in FPU_store_double()
495 } else if (st0_tag == TAG_Special) { in FPU_store_double()
496 st0_tag = FPU_Special(st0_ptr); in FPU_store_double()
497 if (st0_tag == TW_Denormal) { in FPU_store_double()
508 } else if (st0_tag == TW_Infinity) { in FPU_store_double()
[all …]
Dreg_compare.c27 u_char st0_tag; in compare() local
33 st0_tag = FPU_gettag0(); in compare()
38 if (st0_tag == TAG_Special) in compare()
39 st0_tag = FPU_Special(st0_ptr); in compare()
41 if (((st0_tag != TAG_Valid) && (st0_tag != TW_Denormal)) in compare()
43 if (st0_tag == TAG_Zero) { in compare()
54 if (st0_tag == TAG_Valid) in compare()
57 if (st0_tag == TW_Denormal) in compare()
63 if (st0_tag == TW_Infinity) { in compare()
79 if ((st0_tag == TAG_Valid) || (st0_tag == TAG_Zero)) in compare()
[all …]
Dfpu_proto.h98 extern void poly_atan(FPU_REG * st0_ptr, u_char st0_tag, FPU_REG *st1_ptr,
134 extern int FPU_store_extended(FPU_REG *st0_ptr, u_char st0_tag,
136 extern int FPU_store_double(FPU_REG *st0_ptr, u_char st0_tag,
138 extern int FPU_store_single(FPU_REG *st0_ptr, u_char st0_tag,
140 extern int FPU_store_int64(FPU_REG *st0_ptr, u_char st0_tag,
142 extern int FPU_store_int32(FPU_REG *st0_ptr, u_char st0_tag, long __user *d);
143 extern int FPU_store_int16(FPU_REG *st0_ptr, u_char st0_tag, short __user *d);
144 extern int FPU_store_bcd(FPU_REG *st0_ptr, u_char st0_tag, u_char __user *d);
Dfpu_aux.c138 u_char st0_tag = (tag_word >> (regnr * 2)) & 3; in fxch_i() local
141 if (st0_tag == TAG_Empty) { in fxch_i()
157 FPU_copy_to_regi(st0_ptr, st0_tag, i); in fxch_i()
169 tag_word |= (sti_tag << (regnr * 2)) | (st0_tag << (regnri * 2)); in fxch_i()
Dfpu_entry.c109 u_char loaded_tag, st0_tag; in math_emulate() local
267 st0_tag = FPU_gettag0(); in math_emulate()
317 if (((st0_tag == TAG_Special) && isNaN(st0_ptr)) in math_emulate()
360 if ((st0_tag == TAG_Zero) && in math_emulate()
433 if (st0_tag == TAG_Zero) in math_emulate()
474 st0_tag = FPU_gettag0(); in math_emulate()
Dpoly_atan.c52 void poly_atan(FPU_REG *st0_ptr, u_char st0_tag, in poly_atan() argument
63 if (st0_tag == TAG_Valid) { in poly_atan()
Dfpu_emu.h126 typedef void (*FUNC_ST0) (FPU_REG *st0_ptr, u_char st0_tag);
152 #define NOT_EMPTY_ST0 (st0_tag ^ TAG_Empty)