Searched refs:tagb (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/arch/x86/math-emu/
H A Dreg_mul.c25 The sources are st(deststnr) and (b,tagb,signb).
29 int FPU_mul(FPU_REG const *b, u_char tagb, int deststnr, int control_w) FPU_mul() argument
38 if (!(taga | tagb)) { FPU_mul()
54 if (tagb == TAG_Special) FPU_mul()
55 tagb = FPU_Special(b); FPU_mul()
57 if (((taga == TAG_Valid) && (tagb == TW_Denormal)) FPU_mul()
58 || ((taga == TW_Denormal) && (tagb == TAG_Valid)) FPU_mul()
59 || ((taga == TW_Denormal) && (tagb == TW_Denormal))) { FPU_mul()
74 } else if ((taga <= TW_Denormal) && (tagb <= TW_Denormal)) { FPU_mul()
75 if (((tagb == TW_Denormal) || (taga == TW_Denormal)) FPU_mul()
90 else if ((taga == TW_NaN) || (tagb == TW_NaN)) { FPU_mul()
91 return real_2op_NaN(b, tagb, deststnr, &st(0)); FPU_mul()
92 } else if (((taga == TW_Infinity) && (tagb == TAG_Zero)) FPU_mul()
93 || ((tagb == TW_Infinity) && (taga == TAG_Zero))) { FPU_mul()
95 } else if (((taga == TW_Denormal) || (tagb == TW_Denormal)) FPU_mul()
102 } else if (tagb == TW_Infinity) { FPU_mul()
H A Dreg_divide.c32 u_char taga, tagb, signa, signb, sign, saved_sign; FPU_div() local
43 tagb = FPU_gettag0(); FPU_div()
58 tagb = flags & 0x0f; FPU_div()
62 tagb = FPU_gettagi(rm); FPU_div()
74 if (!(taga | tagb)) { FPU_div()
91 if (tagb == TAG_Special) FPU_div()
92 tagb = FPU_Special(b); FPU_div()
94 if (((taga == TAG_Valid) && (tagb == TW_Denormal)) FPU_div()
95 || ((taga == TW_Denormal) && (tagb == TAG_Valid)) FPU_div()
96 || ((taga == TW_Denormal) && (tagb == TW_Denormal))) { FPU_div()
108 } else if ((taga <= TW_Denormal) && (tagb <= TW_Denormal)) { FPU_div()
109 if (tagb != TAG_Zero) { FPU_div()
111 if (tagb == TW_Denormal) { FPU_div()
130 else if ((taga == TW_NaN) || (tagb == TW_NaN)) { FPU_div()
151 if (tagb == TW_Infinity) { FPU_div()
155 /* tagb must be Valid or Zero */ FPU_div()
156 if ((tagb == TW_Denormal) && (denormal_operand() < 0)) FPU_div()
165 } else if (tagb == TW_Infinity) { FPU_div()
H A Dreg_add_sub.c29 FPU_REG const *b, u_char tagb, u_char signb,
36 int FPU_add(FPU_REG const *b, u_char tagb, int deststnr, int control_w) FPU_add() argument
46 if (!(taga | tagb)) { FPU_add()
96 if (tagb == TAG_Special) FPU_add()
97 tagb = FPU_Special(b); FPU_add()
99 if (((taga == TAG_Valid) && (tagb == TW_Denormal)) FPU_add()
100 || ((taga == TW_Denormal) && (tagb == TAG_Valid)) FPU_add()
101 || ((taga == TW_Denormal) && (tagb == TW_Denormal))) { FPU_add()
116 if ((taga == TW_NaN) || (tagb == TW_NaN)) { FPU_add()
118 return real_2op_NaN(b, tagb, deststnr, a); FPU_add()
123 return add_sub_specials(a, taga, signa, b, tagb, signb, FPU_add()
132 u_char taga, tagb, signa, signb, saved_sign, sign; FPU_sub() local
141 tagb = flags & 0x0f; FPU_sub()
144 tagb = FPU_gettagi(rm); FPU_sub()
161 if (!(taga | tagb)) { FPU_sub()
227 if (tagb == TAG_Special) FPU_sub()
228 tagb = FPU_Special(b); FPU_sub()
230 if (((taga == TAG_Valid) && (tagb == TW_Denormal)) FPU_sub()
231 || ((taga == TW_Denormal) && (tagb == TAG_Valid)) FPU_sub()
232 || ((taga == TW_Denormal) && (tagb == TW_Denormal))) { FPU_sub()
248 if ((taga == TW_NaN) || (tagb == TW_NaN)) { FPU_sub()
258 return real_2op_NaN(b, tagb, deststnr, d1); FPU_sub()
262 return real_2op_NaN(b, tagb, deststnr, d2); FPU_sub()
265 return add_sub_specials(a, taga, signa, b, tagb, signb ^ SIGN_NEG, FPU_sub()
271 FPU_REG const *b, u_char tagb, u_char signb, add_sub_specials()
274 if (((taga == TW_Denormal) || (tagb == TW_Denormal)) add_sub_specials()
279 if (tagb == TAG_Zero) { add_sub_specials()
294 if ((tagb == TW_Denormal) && (b->sigh & 0x80000000)) { add_sub_specials()
297 tagb = TAG_Valid; add_sub_specials()
298 } else if (tagb > TAG_Empty) add_sub_specials()
299 tagb = TAG_Special; add_sub_specials()
301 FPU_settagi(deststnr, tagb); add_sub_specials()
302 return tagb; add_sub_specials()
304 } else if (tagb == TAG_Zero) { add_sub_specials()
316 if ((tagb != TW_Infinity) || (signa == signb)) { add_sub_specials()
323 } else if (tagb == TW_Infinity) { add_sub_specials()
326 return tagb; 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 Dreg_compare.c23 static int compare(FPU_REG const *b, int tagb) compare() argument
35 if (tagb == TAG_Special) compare()
36 tagb = FPU_Special(b); compare()
41 || ((tagb != TAG_Valid) && (tagb != TW_Denormal))) { compare()
43 if (tagb == TAG_Zero) compare()
45 if (tagb == TAG_Valid) compare()
48 if (tagb == TW_Denormal) compare()
52 } else if (tagb == TAG_Zero) { compare()
63 if ((tagb == TAG_Valid) || (tagb == TAG_Zero)) compare()
66 else if (tagb == TW_Denormal) compare()
70 else if (tagb == TW_Infinity) { compare()
77 } else if (tagb == TW_Infinity) { compare()
90 if ((st0_tag == TW_NaN) || (tagb == TW_NaN)) { compare()
99 if (tagb == TW_NaN) { compare()
117 | (((st0_tag == TW_Denormal) || (tagb == TW_Denormal)) ? compare()
121 if ((st0_tag == TW_Denormal) || (tagb == TW_Denormal)) { compare()
153 | (((st0_tag == TW_Denormal) || (tagb == TW_Denormal)) ? compare()
158 | (((st0_tag == TW_Denormal) || (tagb == TW_Denormal)) ? compare()
163 | (((st0_tag == TW_Denormal) || (tagb == TW_Denormal)) ? compare()
H A Derrors.c411 int real_2op_NaN(FPU_REG const *b, u_char tagb, real_2op_NaN() argument
422 if (tagb == TAG_Special) real_2op_NaN()
423 tagb = FPU_Special(b); real_2op_NaN()
429 || ((tagb == TW_NaN) real_2op_NaN()
443 if (tagb == TW_NaN) { real_2op_NaN()
458 if (tagb == TW_NaN) real_2op_NaN()
H A Dfpu_proto.h9 extern int real_2op_NaN(FPU_REG const *b, u_char tagb, int deststnr,
109 extern int FPU_add(FPU_REG const *b, u_char tagb, int destrnr, int control_w);
151 extern int FPU_mul(FPU_REG const *b, u_char tagb, int deststnr, int control_w);

Completed in 191 milliseconds