Home
last modified time | relevance | path

Searched refs:FPU_rm (Results 1 – 8 of 8) sorted by relevance

/arch/x86/math-emu/
Dfpu_arith.c21 int i = FPU_rm; in fadd__()
29 int i = FPU_rm; in fmul__()
38 FPU_sub(0, FPU_rm, control_word); in fsub__()
45 FPU_sub(REV, FPU_rm, control_word); in fsubr_()
52 FPU_div(0, FPU_rm, control_word); in fdiv__()
59 FPU_div(REV, FPU_rm, control_word); in fdivr_()
65 int i = FPU_rm; in fadd_i()
74 FPU_mul(&st(0), FPU_gettag0(), FPU_rm, control_word); in fmul_i()
81 FPU_sub(DEST_RM, FPU_rm, control_word); in fsubri()
88 FPU_sub(REV | DEST_RM, FPU_rm, control_word); in fsub_i()
[all …]
Dfpu_aux.c72 (finit_table[FPU_rm]) (); in finit_()
88 (fstsw_table[FPU_rm]) (); in fstsw_()
98 (fp_nop_table[FPU_rm]) (); in fp_nop()
113 i = FPU_rm; in fld_i_()
133 int i = FPU_rm; in fxch_i()
175 FPU_settagi(FPU_rm, TAG_Empty); in ffree_()
181 FPU_settagi(FPU_rm, TAG_Empty); in ffreep()
188 FPU_copy_to_regi(&st(0), FPU_gettag0(), FPU_rm); in fst_i_()
194 FPU_copy_to_regi(&st(0), FPU_gettag0(), FPU_rm); in fstp_i()
Dreg_compare.c307 compare_st_st(FPU_rm); in fcom_st()
313 if (!compare_st_st(FPU_rm)) in fcompst()
320 if (FPU_rm != 1) { in fcompp()
331 compare_u_st_st(FPU_rm); in fucom_()
338 if (!compare_u_st_st(FPU_rm)) in fucomp()
345 if (FPU_rm == 1) { in fucompp()
Dfpu_entry.c284 FPU_rm = FPU_modrm & 7; in math_emulate()
526 if (!NOT_EMPTY_ST0 || !NOT_EMPTY(FPU_rm)) { in math_emulate()
527 FPU_stack_underflow_i(FPU_rm); in math_emulate()
532 if (!NOT_EMPTY_ST0 || !NOT_EMPTY(FPU_rm)) { in math_emulate()
533 FPU_stack_underflow_pop(FPU_rm); in math_emulate()
538 if (!NOT_EMPTY_ST0 || !NOT_EMPTY(FPU_rm)) { in math_emulate()
Dfpu_etc.c129 (fp_etc_table[FPU_rm]) (&st(0), FPU_gettag0()); in FPU_etc()
Dreg_constant.c116 (constants_table[FPU_rm]) (control_word & CW_RC); in fconst()
Dfpu_system.h50 #define FPU_rm (*(u_char *)&(I387->soft.rm)) macro
Dfpu_trig.c1633 (trig_table_a[FPU_rm]) (&st(0), FPU_gettag0()); in FPU_triga()
1642 (trig_table_b[FPU_rm]) (&st(0), FPU_gettag0()); in FPU_trigb()