Home
last modified time | relevance | path

Searched refs:control_word (Results 1 – 10 of 10) sorted by relevance

/arch/x86/math-emu/
Dfpu_arith.c23 FPU_add(&st(i), FPU_gettagi(i), 0, control_word); in fadd__()
31 FPU_mul(&st(i), FPU_gettagi(i), 0, control_word); 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_()
67 FPU_add(&st(i), FPU_gettagi(i), i, control_word); 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 …]
Derrors.c166 control_word & 0x1000 ? 1 : 0, in FPU_printall()
167 (control_word & 0x800) >> 11, (control_word & 0x400) >> 10, in FPU_printall()
168 (control_word & 0x200) >> 9, (control_word & 0x100) >> 8, in FPU_printall()
169 control_word & 0x80 ? 1 : 0, in FPU_printall()
170 control_word & SW_Precision ? 1 : 0, in FPU_printall()
171 control_word & SW_Underflow ? 1 : 0, in FPU_printall()
172 control_word & SW_Overflow ? 1 : 0, in FPU_printall()
173 control_word & SW_Zero_Div ? 1 : 0, in FPU_printall()
174 control_word & SW_Denorm_Op ? 1 : 0, in FPU_printall()
175 control_word & SW_Invalid ? 1 : 0); in FPU_printall()
[all …]
Dload_store.c162 sv_cw = control_word; in FPU_load_store()
163 control_word |= RC_CHOP; in FPU_load_store()
168 control_word = sv_cw; in FPU_load_store()
172 sv_cw = control_word; in FPU_load_store()
173 control_word |= RC_CHOP; in FPU_load_store()
178 control_word = sv_cw; in FPU_load_store()
182 sv_cw = control_word; in FPU_load_store()
183 control_word |= RC_CHOP; in FPU_load_store()
188 control_word = sv_cw; in FPU_load_store()
254 FPU_get_user(control_word, in FPU_load_store()
[all …]
Dreg_ld_str.c362 if (control_word & CW_Invalid) { in FPU_store_extended()
409 if (!(control_word & CW_Underflow)) in FPU_store_double()
413 if (!(control_word & CW_Precision)) in FPU_store_double()
421 switch (control_word & CW_RC) { in FPU_store_double()
472 if (!(control_word & CW_Overflow)) in FPU_store_double()
475 if (!(control_word & CW_Precision)) in FPU_store_double()
502 if (control_word & CW_Underflow) in FPU_store_double()
521 if (!(control_word & CW_Invalid)) in FPU_store_double()
529 if (!(control_word & CW_Invalid)) in FPU_store_double()
537 if (control_word & CW_Invalid) { in FPU_store_double()
[all …]
Dreg_compare.c215 return !(control_word & CW_Invalid); in compare_st_st()
223 return !(control_word & CW_Invalid); in compare_st_st()
261 return !(control_word & CW_Invalid); in compare_i_st_st()
270 return !(control_word & CW_Invalid); in compare_i_st_st()
309 return !(control_word & CW_Invalid); in compare_u_st_st()
319 return !(control_word & CW_Invalid); in compare_u_st_st()
359 return !(control_word & CW_Invalid); in compare_ui_st_st()
370 return !(control_word & CW_Invalid); in compare_ui_st_st()
Dfpu_trig.c38 int old_cw = control_word, saved_status = partial_status; in trig_arg()
46 control_word &= ~CW_RC; in trig_arg()
47 control_word |= RC_CHOP; in trig_arg()
144 control_word = old_cw; in trig_arg()
201 if (control_word & CW_Invalid) { in single_arg_2_error()
215 if (control_word & CW_Invalid) { in single_arg_2_error()
284 if (control_word & CW_Invalid) { in fptan()
422 if (control_word & EX_Invalid) { in fxtract()
469 tag = wm_sqrt(st0_ptr, 0, 0, control_word, SIGN_POS); in fsqrt_()
694 if (control_word & CW_Invalid) { in fsincos()
[all …]
Dfpu_entry.c331 && (control_word & in math_emulate()
399 control_word); in math_emulate()
404 control_word); in math_emulate()
420 control_word); in math_emulate()
426 control_word); in math_emulate()
432 control_word); in math_emulate()
441 control_word); in math_emulate()
450 && (control_word & CW_Invalid)) in math_emulate()
Dfpu_aux.c120 if (control_word & CW_Invalid) { in fld_i_()
146 if (control_word & CW_Invalid) { in fxch_i()
154 if (control_word & CW_Invalid) { in fxch_i()
Dreg_constant.c116 (constants_table[FPU_rm]) (control_word & CW_RC); in fconst()
Dfpu_system.h72 #define control_word (I387->soft.cwd) macro