Fix address calculation on PCMPEQD and PCMPGTD.
This commit is contained in:
parent
da2d819ed4
commit
ca39b51803
1 changed files with 2 additions and 2 deletions
|
|
@ -166,7 +166,7 @@ static int opPCMPEQD_a32(uint32_t fetchdat)
|
||||||
|
|
||||||
MMX_ENTER();
|
MMX_ENTER();
|
||||||
|
|
||||||
fetch_ea_16(fetchdat);
|
fetch_ea_32(fetchdat);
|
||||||
MMX_GETSRC();
|
MMX_GETSRC();
|
||||||
|
|
||||||
cpu_state.MM[cpu_reg].l[0] = (cpu_state.MM[cpu_reg].l[0] == src.l[0]) ? 0xffffffff : 0;
|
cpu_state.MM[cpu_reg].l[0] = (cpu_state.MM[cpu_reg].l[0] == src.l[0]) ? 0xffffffff : 0;
|
||||||
|
|
@ -195,7 +195,7 @@ static int opPCMPGTD_a32(uint32_t fetchdat)
|
||||||
|
|
||||||
MMX_ENTER();
|
MMX_ENTER();
|
||||||
|
|
||||||
fetch_ea_16(fetchdat);
|
fetch_ea_32(fetchdat);
|
||||||
MMX_GETSRC();
|
MMX_GETSRC();
|
||||||
|
|
||||||
cpu_state.MM[cpu_reg].l[0] = (cpu_state.MM[cpu_reg].sl[0] > src.sl[0]) ? 0xffffffff : 0;
|
cpu_state.MM[cpu_reg].l[0] = (cpu_state.MM[cpu_reg].sl[0] > src.sl[0]) ? 0xffffffff : 0;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue