Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/math-emu/
Dreg_add_sub.c31 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() argument
40 FPU_REG *dest = &st(deststnr); in FPU_add()
79 FPU_copy_to_regi(&CONST_Z, TAG_Zero, deststnr); in FPU_add()
91 FPU_settagi(deststnr, tag); in FPU_add()
118 if (deststnr == 0) in FPU_add()
119 return real_2op_NaN(b, tagb, deststnr, a); in FPU_add()
121 return real_2op_NaN(a, taga, deststnr, a); in FPU_add()
125 dest, deststnr, control_w); in FPU_add()
134 int diff, tag = 0, expa, expb, deststnr; in FPU_sub() local
[all …]
Dreg_mul.c30 int FPU_mul(FPU_REG const *b, u_char tagb, int deststnr, int control_w) in FPU_mul() argument
32 FPU_REG *a = &st(deststnr); in FPU_mul()
34 u_char taga = FPU_gettagi(deststnr); in FPU_mul()
49 FPU_settagi(deststnr, tag); in FPU_mul()
73 FPU_settagi(deststnr, tag); in FPU_mul()
83 FPU_copy_to_regi(&CONST_Z, TAG_Zero, deststnr); in FPU_mul()
92 return real_2op_NaN(b, tagb, deststnr, &st(0)); in FPU_mul()
95 return arith_invalid(deststnr); /* Zero*Infinity is invalid */ in FPU_mul()
100 FPU_copy_to_regi(a, TAG_Special, deststnr); in FPU_mul()
104 FPU_copy_to_regi(b, TAG_Special, deststnr); in FPU_mul()
Dreg_divide.c34 int tag, deststnr; in FPU_div() local
37 deststnr = rm; in FPU_div()
39 deststnr = 0; in FPU_div()
72 dest = &st(deststnr); in FPU_div()
86 FPU_settagi(deststnr, tag); in FPU_div()
107 FPU_settagi(deststnr, tag); in FPU_div()
118 FPU_copy_to_regi(&CONST_Z, TAG_Zero, deststnr); in FPU_div()
125 return arith_invalid(deststnr); in FPU_div()
128 return FPU_divide_by_zero(deststnr, sign); in FPU_div()
154 return arith_invalid(deststnr); in FPU_div()
[all …]
Derrors.c414 int deststnr, FPU_REG const *defaultNaN) in real_2op_NaN() argument
416 FPU_REG *dest = &st(deststnr); in real_2op_NaN()
418 u_char taga = FPU_gettagi(deststnr); in real_2op_NaN()
436 FPU_copy_to_regi(&CONST_QNaN, TAG_Special, deststnr); in real_2op_NaN()
481 FPU_copy_to_regi(x, TAG_Special, deststnr); in real_2op_NaN()
497 asmlinkage __visible int arith_invalid(int deststnr) in arith_invalid() argument
504 FPU_copy_to_regi(&CONST_QNaN, TAG_Special, deststnr); in arith_invalid()
512 asmlinkage __visible int FPU_divide_by_zero(int deststnr, u_char sign) in FPU_divide_by_zero() argument
514 FPU_REG *dest = &st(deststnr); in FPU_divide_by_zero()
519 FPU_copy_to_regi(&CONST_INF, TAG_Special, deststnr); in FPU_divide_by_zero()
Dfpu_proto.h10 extern int real_2op_NaN(FPU_REG const *b, u_char tagb, int deststnr,
12 asmlinkage int arith_invalid(int deststnr);
13 asmlinkage int FPU_divide_by_zero(int deststnr, u_char sign);
152 extern int FPU_mul(FPU_REG const *b, u_char tagb, int deststnr, int control_w);
Dfpu_trig.c152 static void convert_l2reg(long const *arg, int deststnr) in convert_l2reg() argument
157 FPU_REG *dest = &st(deststnr); in convert_l2reg()
160 FPU_copy_to_regi(&CONST_Z, TAG_Zero, deststnr); in convert_l2reg()
175 FPU_settagi(deststnr, tag); in convert_l2reg()