Fall back to interpreter version of FADD if x87 rounding mode is not nearest. Fixes software rendering in Battlezone.
This commit is contained in:
parent
83f2869123
commit
451e80a333
1 changed files with 2 additions and 0 deletions
|
|
@ -274,6 +274,8 @@ uint32_t ropFADD ## name(codeblock_t *block, ir_data_t *ir, uint8_t opcode, uint
|
|||
{ \
|
||||
x86seg *target_seg; \
|
||||
\
|
||||
if ((cpu_state.npxc >> 10) & 3) \
|
||||
return 0; \
|
||||
uop_FP_ENTER(ir); \
|
||||
uop_MOV_IMM(ir, IREG_oldpc, cpu_state.oldpc); \
|
||||
op_pc--; \
|
||||
|
|
|
|||
Loading…
Reference in a new issue