PCem
changeset 170:a0642e86daea tip
Fixed MMX PANDN instruction.
| author | TomW |
|---|---|
| date | Wed Oct 08 20:43:36 2014 +0100 |
| parents | b184d3ebfd41 |
| children | |
| files | src/x86_ops_mmx_logic.h |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/src/x86_ops_mmx_logic.h Sat Oct 04 19:39:09 2014 +0100 1.2 +++ b/src/x86_ops_mmx_logic.h Wed Oct 08 20:43:36 2014 +0100 1.3 @@ -29,7 +29,7 @@ 1.4 fetch_ea_16(fetchdat); 1.5 MMX_GETSRC(); 1.6 1.7 - MM[reg].q &= ~src.q; 1.8 + MM[reg].q = ~MM[reg].q & src.q; 1.9 return 0; 1.10 } 1.11 int opPANDN_a32(uint32_t fetchdat) 1.12 @@ -40,7 +40,7 @@ 1.13 fetch_ea_32(fetchdat); 1.14 MMX_GETSRC(); 1.15 1.16 - MM[reg].q &= ~src.q; 1.17 + MM[reg].q = ~MM[reg].q & src.q; 1.18 return 0; 1.19 } 1.20
