# HG changeset patch # User TomW # Date 1412797416 -3600 # Node ID a0642e86daea6494f69968557be2e464d35831e3 # Parent b184d3ebfd41771011da420b75b6edd804ec4e4a Fixed MMX PANDN instruction. diff -r b184d3ebfd41 -r a0642e86daea src/x86_ops_mmx_logic.h --- a/src/x86_ops_mmx_logic.h Sat Oct 04 19:39:09 2014 +0100 +++ b/src/x86_ops_mmx_logic.h Wed Oct 08 20:43:36 2014 +0100 @@ -29,7 +29,7 @@ fetch_ea_16(fetchdat); MMX_GETSRC(); - MM[reg].q &= ~src.q; + MM[reg].q = ~MM[reg].q & src.q; return 0; } int opPANDN_a32(uint32_t fetchdat) @@ -40,7 +40,7 @@ fetch_ea_32(fetchdat); MMX_GETSRC(); - MM[reg].q &= ~src.q; + MM[reg].q = ~MM[reg].q & src.q; return 0; }