summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-11-06 09:39:48 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-11-06 09:39:48 -0800
commit81cef52e7a2ae3230cac2fd737e8113d258bb4f7 (patch)
treeb863a786d28a92608934e69d82c277c172dfe29a
parent0ad8ffd6e2bffeac9996dfcee9e7f0d0a90db8e6 (diff)
downloadnasm-81cef52e7a2ae3230cac2fd737e8113d258bb4f7.tar.gz
The POPCNT instruction does not need sizes on memory operands
The POPCNT instruction should not require sizes on memory operands. Add the appropriate size flags for that to work. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--insns.dat6
1 files changed, 3 insertions, 3 deletions
diff --git a/insns.dat b/insns.dat
index 4a89615d..81190439 100644
--- a/insns.dat
+++ b/insns.dat
@@ -1854,9 +1854,9 @@ PCMPESTRM xmmreg,xmmrm,imm \361\3\x0F\x3A\x60\110\26 SSE42
PCMPISTRI xmmreg,xmmrm,imm \361\3\x0F\x3A\x63\110\26 SSE42
PCMPISTRM xmmreg,xmmrm,imm \361\3\x0F\x3A\x62\110\26 SSE42
PCMPGTQ xmmreg,xmmrm \361\3\x0F\x38\x37\110 SSE42
-POPCNT reg16,rm16 \320\363\2\x0F\xB8\110 NEHALEM
-POPCNT reg32,rm32 \321\363\2\x0F\xB8\110 NEHALEM
-POPCNT reg64,rm64 \324\363\2\x0F\xB8\110 NEHALEM,X64
+POPCNT reg16,rm16 \320\363\2\x0F\xB8\110 NEHALEM,SW
+POPCNT reg32,rm32 \321\363\2\x0F\xB8\110 NEHALEM,SD
+POPCNT reg64,rm64 \324\363\2\x0F\xB8\110 NEHALEM,SQ,X64
;# AMD SSE5 instructions