diff options
author | Kevin Enderby <enderby@apple.com> | 2010-03-24 22:28:42 +0000 |
---|---|---|
committer | Kevin Enderby <enderby@apple.com> | 2010-03-24 22:28:42 +0000 |
commit | 044be39090a702504c62fc0544fc977a6caa7112 (patch) | |
tree | dfd4d0c268eb0a600f16d4c0a84574ecebd02923 /test | |
parent | 1449f29100a0d3950a1a17e962f7cf718198e283 (diff) | |
download | llvm-044be39090a702504c62fc0544fc977a6caa7112.tar.gz llvm-044be39090a702504c62fc0544fc977a6caa7112.tar.bz2 llvm-044be39090a702504c62fc0544fc977a6caa7112.tar.xz |
Fixed the SS42AI template for the SSE 4.2 instructions with TA prefix so it does
not get an "Unknown immediate size" assert failure when used. All instructions
of this form have an 8-bit immediate. Also added a test case of an example
instruction that is of this form.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99435 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/AsmParser/X86/x86_32-encoding.s | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/MC/AsmParser/X86/x86_32-encoding.s b/test/MC/AsmParser/X86/x86_32-encoding.s index 2088aa7bd5..95f04e24e5 100644 --- a/test/MC/AsmParser/X86/x86_32-encoding.s +++ b/test/MC/AsmParser/X86/x86_32-encoding.s @@ -9905,3 +9905,11 @@ // CHECK: crc32l %ecx, %ecx // CHECK: encoding: [0xf2,0x0f,0x38,0xf1,0xc9] crc32l %ecx,%ecx + +// CHECK: pcmpistrm $125, %xmm1, %xmm2 +// CHECK: encoding: [0x66,0x0f,0x3a,0x62,0xd1,0x7d] + pcmpistrm $125, %xmm1, %xmm2 + +// CHECK: pcmpistrm $125, (%edx,%eax,4), %xmm2 +// CHECK: encoding: [0x66,0x0f,0x3a,0x62,0x14,0x82,0x7d] + pcmpistrm $125, (%edx,%eax,4), %xmm2 |