Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/math-emu/
Dreg_add_sub.c30 FPU_REG const *b, u_char tagb, u_char signb,
37 int FPU_add(FPU_REG const *b, u_char tagb, int deststnr, int control_w) in FPU_add() argument
47 if (!(taga | tagb)) { in FPU_add()
97 if (tagb == TAG_Special) in FPU_add()
98 tagb = FPU_Special(b); in FPU_add()
100 if (((taga == TAG_Valid) && (tagb == TW_Denormal)) in FPU_add()
101 || ((taga == TW_Denormal) && (tagb == TAG_Valid)) in FPU_add()
102 || ((taga == TW_Denormal) && (tagb == TW_Denormal))) { in FPU_add()
117 if ((taga == TW_NaN) || (tagb == TW_NaN)) { in FPU_add()
119 return real_2op_NaN(b, tagb, deststnr, a); in FPU_add()
[all …]
Dreg_mul.c30 int FPU_mul(FPU_REG const *b, u_char tagb, int deststnr, int control_w) in FPU_mul() argument
39 if (!(taga | tagb)) { in FPU_mul()
55 if (tagb == TAG_Special) in FPU_mul()
56 tagb = FPU_Special(b); in FPU_mul()
58 if (((taga == TAG_Valid) && (tagb == TW_Denormal)) in FPU_mul()
59 || ((taga == TW_Denormal) && (tagb == TAG_Valid)) in FPU_mul()
60 || ((taga == TW_Denormal) && (tagb == TW_Denormal))) { in FPU_mul()
75 } else if ((taga <= TW_Denormal) && (tagb <= TW_Denormal)) { in FPU_mul()
76 if (((tagb == TW_Denormal) || (taga == TW_Denormal)) in FPU_mul()
91 else if ((taga == TW_NaN) || (tagb == TW_NaN)) { in FPU_mul()
[all …]
Dreg_divide.c33 u_char taga, tagb, signa, signb, sign, saved_sign; in FPU_div() local
44 tagb = FPU_gettag0(); in FPU_div()
59 tagb = flags & 0x0f; in FPU_div()
63 tagb = FPU_gettagi(rm); in FPU_div()
75 if (!(taga | tagb)) { in FPU_div()
92 if (tagb == TAG_Special) in FPU_div()
93 tagb = FPU_Special(b); in FPU_div()
95 if (((taga == TAG_Valid) && (tagb == TW_Denormal)) in FPU_div()
96 || ((taga == TW_Denormal) && (tagb == TAG_Valid)) in FPU_div()
97 || ((taga == TW_Denormal) && (tagb == TW_Denormal))) { in FPU_div()
[all …]
Dreg_compare.c24 static int compare(FPU_REG const *b, int tagb) in compare() argument
36 if (tagb == TAG_Special) in compare()
37 tagb = FPU_Special(b); in compare()
42 || ((tagb != TAG_Valid) && (tagb != TW_Denormal))) { in compare()
44 if (tagb == TAG_Zero) in compare()
46 if (tagb == TAG_Valid) in compare()
49 if (tagb == TW_Denormal) in compare()
53 } else if (tagb == TAG_Zero) { in compare()
64 if ((tagb == TAG_Valid) || (tagb == TAG_Zero)) in compare()
67 else if (tagb == TW_Denormal) in compare()
[all …]
Derrors.c413 int real_2op_NaN(FPU_REG const *b, u_char tagb, in real_2op_NaN() argument
424 if (tagb == TAG_Special) in real_2op_NaN()
425 tagb = FPU_Special(b); in real_2op_NaN()
431 || ((tagb == TW_NaN) in real_2op_NaN()
445 if (tagb == TW_NaN) { in real_2op_NaN()
460 if (tagb == TW_NaN) in real_2op_NaN()
Dfpu_proto.h10 extern int real_2op_NaN(FPU_REG const *b, u_char tagb, int deststnr,
110 extern int FPU_add(FPU_REG const *b, u_char tagb, int destrnr, int control_w);
152 extern int FPU_mul(FPU_REG const *b, u_char tagb, int deststnr, int control_w);