Fixed the encoding problems of the crc32 instructions. All had the Operand size
authorKevin Enderby <enderby@apple.com>
Fri, 19 Mar 2010 20:04:42 +0000 (20:04 +0000)
committerKevin Enderby <enderby@apple.com>
Fri, 19 Mar 2010 20:04:42 +0000 (20:04 +0000)
commitb46b03b36f50c11d5517024c1d0ef3763085eb90
treefa58b47ce4c6975803ed714e91a9bc69a75b1e6a
parent80d23705e6df49a41298fd345be6f8a8d72f4fd0
Fixed the encoding problems of the crc32 instructions. All had the Operand size
override prefix and only the r/m16 forms should have had that.  Also for variant
one, the AT&T syntax, added suffixes to all forms.  Also added the missing
64-bit form for 'CRC32 r64, r/m8'.  Plus added test cases for all forms and
tweaked one test case to add the needed suffixes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98980 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IntrinsicsX86.td
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/sse42.ll
test/MC/AsmParser/X86/x86_32-bit_cat.s
test/MC/AsmParser/X86/x86_32-encoding.s
test/MC/AsmParser/X86/x86_64-encoding.s [new file with mode: 0644]
test/MC/MachO/Darwin/x86_32_diff_as.s