/linux-4.4.14/arch/x86/math-emu/ |
H A D | reg_mul.c | 25 The sources are st(deststnr) and (b,tagb,signb). 26 The destination is st(deststnr). 29 int FPU_mul(FPU_REG const *b, u_char tagb, int deststnr, int control_w) FPU_mul() argument 31 FPU_REG *a = &st(deststnr); FPU_mul() 33 u_char taga = FPU_gettagi(deststnr); FPU_mul() 48 FPU_settagi(deststnr, tag); FPU_mul() 72 FPU_settagi(deststnr, tag); FPU_mul() 82 FPU_copy_to_regi(&CONST_Z, TAG_Zero, deststnr); FPU_mul() 91 return real_2op_NaN(b, tagb, deststnr, &st(0)); FPU_mul() 94 return arith_invalid(deststnr); /* Zero*Infinity is invalid */ FPU_mul() 99 FPU_copy_to_regi(a, TAG_Special, deststnr); FPU_mul() 103 FPU_copy_to_regi(b, TAG_Special, deststnr); FPU_mul()
|
H A D | reg_divide.c | 33 int tag, deststnr; FPU_div() local 36 deststnr = rm; FPU_div() 38 deststnr = 0; FPU_div() 71 dest = &st(deststnr); FPU_div() 85 FPU_settagi(deststnr, tag); FPU_div() 106 FPU_settagi(deststnr, tag); FPU_div() 117 FPU_copy_to_regi(&CONST_Z, TAG_Zero, deststnr); FPU_div() 124 return arith_invalid(deststnr); FPU_div() 127 return FPU_divide_by_zero(deststnr, sign); FPU_div() 153 return arith_invalid(deststnr); FPU_div() 161 FPU_copy_to_regi(a, TAG_Special, deststnr); FPU_div() 170 FPU_copy_to_regi(&CONST_Z, TAG_Zero, deststnr); FPU_div()
|
H A D | reg_add_sub.c | 30 FPU_REG * dest, int deststnr, int control_w); 36 int FPU_add(FPU_REG const *b, u_char tagb, int deststnr, int control_w) FPU_add() argument 39 FPU_REG *dest = &st(deststnr); FPU_add() 78 FPU_copy_to_regi(&CONST_Z, TAG_Zero, deststnr); FPU_add() 90 FPU_settagi(deststnr, tag); FPU_add() 117 if (deststnr == 0) FPU_add() 118 return real_2op_NaN(b, tagb, deststnr, a); FPU_add() 120 return real_2op_NaN(a, taga, deststnr, a); FPU_add() 124 dest, deststnr, control_w); FPU_add() 133 int diff, tag = 0, expa, expb, deststnr; FPU_sub() local 138 deststnr = 0; FPU_sub() 147 deststnr = rm; FPU_sub() 158 dest = &st(deststnr); FPU_sub() 188 FPU_copy_to_regi(&CONST_Z, TAG_Zero, deststnr); FPU_sub() 221 FPU_settagi(deststnr, tag); FPU_sub() 258 return real_2op_NaN(b, tagb, deststnr, d1); FPU_sub() 260 return real_2op_NaN(a, taga, deststnr, d2); FPU_sub() 262 return real_2op_NaN(b, tagb, deststnr, d2); FPU_sub() 266 dest, deststnr, control_w); FPU_sub() 272 FPU_REG * dest, int deststnr, int control_w) add_sub_specials() 283 FPU_copy_to_regi(a, TAG_Zero, deststnr); add_sub_specials() 301 FPU_settagi(deststnr, tagb); add_sub_specials() 313 FPU_settagi(deststnr, taga); add_sub_specials() 317 FPU_copy_to_regi(a, TAG_Special, deststnr); add_sub_specials() 322 return arith_invalid(deststnr); add_sub_specials() 324 FPU_copy_to_regi(b, TAG_Special, deststnr); add_sub_specials() 270 add_sub_specials(FPU_REG const *a, u_char taga, u_char signa, FPU_REG const *b, u_char tagb, u_char signb, FPU_REG * dest, int deststnr, int control_w) add_sub_specials() argument
|
H A D | errors.c | 412 int deststnr, FPU_REG const *defaultNaN) real_2op_NaN() 414 FPU_REG *dest = &st(deststnr); real_2op_NaN() 416 u_char taga = FPU_gettagi(deststnr); real_2op_NaN() 434 FPU_copy_to_regi(&CONST_QNaN, TAG_Special, deststnr); real_2op_NaN() 479 FPU_copy_to_regi(x, TAG_Special, deststnr); real_2op_NaN() 495 asmlinkage __visible int arith_invalid(int deststnr) arith_invalid() argument 502 FPU_copy_to_regi(&CONST_QNaN, TAG_Special, deststnr); arith_invalid() 510 asmlinkage __visible int FPU_divide_by_zero(int deststnr, u_char sign) FPU_divide_by_zero() argument 512 FPU_REG *dest = &st(deststnr); FPU_divide_by_zero() 517 FPU_copy_to_regi(&CONST_INF, TAG_Special, deststnr); FPU_divide_by_zero() 411 real_2op_NaN(FPU_REG const *b, u_char tagb, int deststnr, FPU_REG const *defaultNaN) real_2op_NaN() argument
|
H A D | fpu_proto.h | 9 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); 151 extern int FPU_mul(FPU_REG const *b, u_char tagb, int deststnr, int control_w);
|
H A D | fpu_trig.c | 151 static void convert_l2reg(long const *arg, int deststnr) convert_l2reg() argument 156 FPU_REG *dest = &st(deststnr); convert_l2reg() 159 FPU_copy_to_regi(&CONST_Z, TAG_Zero, deststnr); convert_l2reg() 174 FPU_settagi(deststnr, tag); convert_l2reg()
|