Searched refs:control_word (Results 1 – 10 of 10) sorted by relevance
/arch/x86/math-emu/ |
D | fpu_arith.c | 23 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 …]
|
D | errors.c | 166 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 …]
|
D | load_store.c | 162 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 …]
|
D | reg_ld_str.c | 362 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 …]
|
D | reg_compare.c | 215 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()
|
D | fpu_trig.c | 38 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 …]
|
D | fpu_entry.c | 331 && (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()
|
D | fpu_aux.c | 120 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()
|
D | reg_constant.c | 116 (constants_table[FPU_rm]) (control_word & CW_RC); in fconst()
|
D | fpu_system.h | 72 #define control_word (I387->soft.cwd) macro
|