Home
last modified time | relevance | path

Searched refs:deststnr (Results 1 – 6 of 6) sorted by relevance

/arch/x86/math-emu/
Dreg_add_sub.c30 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() argument
39 FPU_REG *dest = &st(deststnr); in FPU_add()
78 FPU_copy_to_regi(&CONST_Z, TAG_Zero, deststnr); in FPU_add()
90 FPU_settagi(deststnr, tag); in FPU_add()
117 if (deststnr == 0) in FPU_add()
118 return real_2op_NaN(b, tagb, deststnr, a); in FPU_add()
120 return real_2op_NaN(a, taga, deststnr, a); in FPU_add()
124 dest, deststnr, control_w); in FPU_add()
133 int diff, tag = 0, expa, expb, deststnr; in FPU_sub() local
[all …]
Dreg_mul.c29 int FPU_mul(FPU_REG const *b, u_char tagb, int deststnr, int control_w) in FPU_mul() argument
31 FPU_REG *a = &st(deststnr); in FPU_mul()
33 u_char taga = FPU_gettagi(deststnr); in FPU_mul()
48 FPU_settagi(deststnr, tag); in FPU_mul()
72 FPU_settagi(deststnr, tag); in FPU_mul()
82 FPU_copy_to_regi(&CONST_Z, TAG_Zero, deststnr); in FPU_mul()
91 return real_2op_NaN(b, tagb, deststnr, &st(0)); in FPU_mul()
94 return arith_invalid(deststnr); /* Zero*Infinity is invalid */ in FPU_mul()
99 FPU_copy_to_regi(a, TAG_Special, deststnr); in FPU_mul()
103 FPU_copy_to_regi(b, TAG_Special, deststnr); in FPU_mul()
Dreg_divide.c33 int tag, deststnr; in FPU_div() local
36 deststnr = rm; in FPU_div()
38 deststnr = 0; in FPU_div()
71 dest = &st(deststnr); in FPU_div()
85 FPU_settagi(deststnr, tag); in FPU_div()
106 FPU_settagi(deststnr, tag); in FPU_div()
117 FPU_copy_to_regi(&CONST_Z, TAG_Zero, deststnr); in FPU_div()
124 return arith_invalid(deststnr); in FPU_div()
127 return FPU_divide_by_zero(deststnr, sign); in FPU_div()
153 return arith_invalid(deststnr); in FPU_div()
[all …]
Derrors.c417 int deststnr, FPU_REG const *defaultNaN) in real_2op_NaN() argument
419 FPU_REG *dest = &st(deststnr); in real_2op_NaN()
421 u_char taga = FPU_gettagi(deststnr); in real_2op_NaN()
439 FPU_copy_to_regi(&CONST_QNaN, TAG_Special, deststnr); in real_2op_NaN()
484 FPU_copy_to_regi(x, TAG_Special, deststnr); in real_2op_NaN()
500 asmlinkage int arith_invalid(int deststnr) in arith_invalid() argument
507 FPU_copy_to_regi(&CONST_QNaN, TAG_Special, deststnr); in arith_invalid()
515 asmlinkage int FPU_divide_by_zero(int deststnr, u_char sign) in FPU_divide_by_zero() argument
517 FPU_REG *dest = &st(deststnr); in FPU_divide_by_zero()
522 FPU_copy_to_regi(&CONST_INF, TAG_Special, deststnr); in FPU_divide_by_zero()
Dfpu_proto.h9 extern int real_2op_NaN(FPU_REG const *b, u_char tagb, int deststnr,
11 asmlinkage int arith_invalid(int deststnr);
12 asmlinkage int FPU_divide_by_zero(int deststnr, u_char sign);
139 extern int FPU_mul(FPU_REG const *b, u_char tagb, int deststnr, int control_w);
Dfpu_trig.c151 static void convert_l2reg(long const *arg, int deststnr) in convert_l2reg() argument
156 FPU_REG *dest = &st(deststnr); in convert_l2reg()
159 FPU_copy_to_regi(&CONST_Z, TAG_Zero, deststnr); in convert_l2reg()
174 FPU_settagi(deststnr, tag); in convert_l2reg()