Home
last modified time | relevance | path

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

/linux-3.4.99/arch/x86/math-emu/
Dfpu_trig.c39 int tag, st0_tag = TAG_Valid; in trig_arg() local
62 st0_tag = FPU_normalize(&tmp); in trig_arg()
63 FPU_copy_to_reg0(&tmp, st0_tag); in trig_arg()
67 st0_tag = in trig_arg()
90 st0_tag = FPU_add(&tmp, tmptag, 0, FULL_PRECISION); in trig_arg()
123 st0_tag = FPU_sub(LOADED | (tmptag & 0x0f), (int)&tmp, in trig_arg()
134 st0_tag = in trig_arg()
143 FPU_settag0(st0_tag); in trig_arg()
179 static void single_arg_error(FPU_REG *st0_ptr, u_char st0_tag) in single_arg_error() argument
181 if (st0_tag == TAG_Empty) in single_arg_error()
[all …]
Dreg_compare.c26 u_char st0_tag; in compare() local
32 st0_tag = FPU_gettag0(); in compare()
37 if (st0_tag == TAG_Special) in compare()
38 st0_tag = FPU_Special(st0_ptr); in compare()
40 if (((st0_tag != TAG_Valid) && (st0_tag != TW_Denormal)) in compare()
42 if (st0_tag == TAG_Zero) { in compare()
53 if (st0_tag == TAG_Valid) in compare()
56 if (st0_tag == TW_Denormal) in compare()
62 if (st0_tag == TW_Infinity) { in compare()
78 if ((st0_tag == TAG_Valid) || (st0_tag == TAG_Zero)) in compare()
[all …]
Dreg_ld_str.c336 int FPU_store_extended(FPU_REG *st0_ptr, u_char st0_tag, in FPU_store_extended() argument
345 if (st0_tag != TAG_Empty) { in FPU_store_extended()
378 int FPU_store_double(FPU_REG *st0_ptr, u_char st0_tag, double __user *dfloat) in FPU_store_double() argument
388 if (st0_tag == TAG_Valid) { in FPU_store_double()
395 if ((precision_loss = FPU_round_to_int(&tmp, st0_tag))) { in FPU_store_double()
492 } else if (st0_tag == TAG_Zero) { in FPU_store_double()
494 } else if (st0_tag == TAG_Special) { in FPU_store_double()
495 st0_tag = FPU_Special(st0_ptr); in FPU_store_double()
496 if (st0_tag == TW_Denormal) { in FPU_store_double()
507 } else if (st0_tag == TW_Infinity) { in FPU_store_double()
[all …]
Dload_store.c66 u_char st0_tag = TAG_Empty; /* This is just to stop a gcc warning. */ in FPU_load_store() local
91 st0_tag = FPU_gettag0(); in FPU_load_store()
153 FPU_store_single(st0_ptr, st0_tag, in FPU_load_store()
158 FPU_store_int32(st0_ptr, st0_tag, (long __user *)data_address); in FPU_load_store()
162 FPU_store_double(st0_ptr, st0_tag, in FPU_load_store()
167 FPU_store_int16(st0_ptr, st0_tag, (short __user *)data_address); in FPU_load_store()
172 (st0_ptr, st0_tag, (float __user *)data_address)) in FPU_load_store()
179 (st0_ptr, st0_tag, (long __user *)data_address)) in FPU_load_store()
186 (st0_ptr, st0_tag, (double __user *)data_address)) in FPU_load_store()
193 (st0_ptr, st0_tag, (short __user *)data_address)) in FPU_load_store()
[all …]
Dfpu_proto.h89 extern void poly_atan(FPU_REG * st0_ptr, u_char st0_tag, FPU_REG *st1_ptr,
121 extern int FPU_store_extended(FPU_REG *st0_ptr, u_char st0_tag,
123 extern int FPU_store_double(FPU_REG *st0_ptr, u_char st0_tag,
125 extern int FPU_store_single(FPU_REG *st0_ptr, u_char st0_tag,
127 extern int FPU_store_int64(FPU_REG *st0_ptr, u_char st0_tag,
129 extern int FPU_store_int32(FPU_REG *st0_ptr, u_char st0_tag, long __user *d);
130 extern int FPU_store_int16(FPU_REG *st0_ptr, u_char st0_tag, short __user *d);
131 extern int FPU_store_bcd(FPU_REG *st0_ptr, u_char st0_tag, u_char __user *d);
Dfpu_aux.c137 u_char st0_tag = (tag_word >> (regnr * 2)) & 3; in fxch_i() local
140 if (st0_tag == TAG_Empty) { in fxch_i()
156 FPU_copy_to_regi(st0_ptr, st0_tag, i); in fxch_i()
168 tag_word |= (sti_tag << (regnr * 2)) | (st0_tag << (regnri * 2)); in fxch_i()
Dfpu_entry.c143 u_char loaded_tag, st0_tag; in math_emulate() local
309 st0_tag = FPU_gettag0(); in math_emulate()
359 if (((st0_tag == TAG_Special) && isNaN(st0_ptr)) in math_emulate()
402 if ((st0_tag == TAG_Zero) && in math_emulate()
475 if (st0_tag == TAG_Zero) in math_emulate()
516 st0_tag = FPU_gettag0(); in math_emulate()
Dfpu_emu.h125 typedef void (*FUNC_ST0) (FPU_REG *st0_ptr, u_char st0_tag);
151 #define NOT_EMPTY_ST0 (st0_tag ^ TAG_Empty)
Dpoly_atan.c51 void poly_atan(FPU_REG *st0_ptr, u_char st0_tag, in poly_atan() argument
62 if (st0_tag == TAG_Valid) { in poly_atan()