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>
This commit is contained in:
H. Peter Anvin 2008-11-06 09:39:48 -08:00
parent 0ad8ffd6e2
commit 81cef52e7a

View File

@ -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