Home
last modified time | relevance | path

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

/arch/x86/math-emu/
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) in FPU_add() argument
46 if (!(taga | tagb)) { in FPU_add()
96 if (tagb == TAG_Special) in FPU_add()
97 tagb = FPU_Special(b); in FPU_add()
99 if (((taga == TAG_Valid) && (tagb == TW_Denormal)) in FPU_add()
100 || ((taga == TW_Denormal) && (tagb == TAG_Valid)) in FPU_add()
101 || ((taga == TW_Denormal) && (tagb == TW_Denormal))) { in FPU_add()
116 if ((taga == TW_NaN) || (tagb == TW_NaN)) { in FPU_add()
118 return real_2op_NaN(b, tagb, deststnr, a); in FPU_add()
[all …]
Dreg_mul.c29 int FPU_mul(FPU_REG const *b, u_char tagb, int deststnr, int control_w) in FPU_mul() argument
38 if (!(taga | tagb)) { in FPU_mul()
54 if (tagb == TAG_Special) in FPU_mul()
55 tagb = FPU_Special(b); in FPU_mul()
57 if (((taga == TAG_Valid) && (tagb == TW_Denormal)) in FPU_mul()
58 || ((taga == TW_Denormal) && (tagb == TAG_Valid)) in FPU_mul()
59 || ((taga == TW_Denormal) && (tagb == TW_Denormal))) { in FPU_mul()
74 } else if ((taga <= TW_Denormal) && (tagb <= TW_Denormal)) { in FPU_mul()
75 if (((tagb == TW_Denormal) || (taga == TW_Denormal)) in FPU_mul()
90 else if ((taga == TW_NaN) || (tagb == TW_NaN)) { in FPU_mul()
[all …]
Dreg_divide.c32 u_char taga, tagb, signa, signb, sign, saved_sign; in FPU_div() local
43 tagb = FPU_gettag0(); in FPU_div()
58 tagb = flags & 0x0f; in FPU_div()
62 tagb = FPU_gettagi(rm); in FPU_div()
74 if (!(taga | tagb)) { in FPU_div()
91 if (tagb == TAG_Special) in FPU_div()
92 tagb = FPU_Special(b); in FPU_div()
94 if (((taga == TAG_Valid) && (tagb == TW_Denormal)) in FPU_div()
95 || ((taga == TW_Denormal) && (tagb == TAG_Valid)) in FPU_div()
96 || ((taga == TW_Denormal) && (tagb == TW_Denormal))) { in FPU_div()
[all …]
Dreg_compare.c23 static int compare(FPU_REG const *b, int tagb) in compare() argument
35 if (tagb == TAG_Special) in compare()
36 tagb = FPU_Special(b); in compare()
41 || ((tagb != TAG_Valid) && (tagb != TW_Denormal))) { in compare()
43 if (tagb == TAG_Zero) in compare()
45 if (tagb == TAG_Valid) in compare()
48 if (tagb == TW_Denormal) in compare()
52 } else if (tagb == TAG_Zero) { in compare()
63 if ((tagb == TAG_Valid) || (tagb == TAG_Zero)) in compare()
66 else if (tagb == TW_Denormal) in compare()
[all …]
Derrors.c416 int real_2op_NaN(FPU_REG const *b, u_char tagb, in real_2op_NaN() argument
427 if (tagb == TAG_Special) in real_2op_NaN()
428 tagb = FPU_Special(b); in real_2op_NaN()
434 || ((tagb == TW_NaN) in real_2op_NaN()
448 if (tagb == TW_NaN) { in real_2op_NaN()
463 if (tagb == TW_NaN) in real_2op_NaN()
Dfpu_proto.h9 extern int real_2op_NaN(FPU_REG const *b, u_char tagb, int deststnr,
101 extern int FPU_add(FPU_REG const *b, u_char tagb, int destrnr, int control_w);
139 extern int FPU_mul(FPU_REG const *b, u_char tagb, int deststnr, int control_w);