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 | 144bd6823fbf63e2fb4befcadc3552c8df9b4030 (patch) | |
tree | dfd4d0c268eb0a600f16d4c0a84574ecebd02923 /lib | |
parent | 14d2ce67656ce328394e72e4a3024a9fb50801e0 (diff) | |
download | external_llvm-144bd6823fbf63e2fb4befcadc3552c8df9b4030.zip external_llvm-144bd6823fbf63e2fb4befcadc3552c8df9b4030.tar.gz external_llvm-144bd6823fbf63e2fb4befcadc3552c8df9b4030.tar.bz2 |
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 'lib')
-rw-r--r-- | lib/Target/X86/X86InstrFormats.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86InstrFormats.td b/lib/Target/X86/X86InstrFormats.td index bb81cbf..c06b81b 100644 --- a/lib/Target/X86/X86InstrFormats.td +++ b/lib/Target/X86/X86InstrFormats.td @@ -286,7 +286,7 @@ class SS42FI<bits<8> o, Format F, dag outs, dag ins, string asm, // SS42AI = SSE 4.2 instructions with TA prefix class SS42AI<bits<8> o, Format F, dag outs, dag ins, string asm, list<dag> pattern> - : I<o, F, outs, ins, asm, pattern>, TA, Requires<[HasSSE42]>; + : Ii8<o, F, outs, ins, asm, pattern>, TA, Requires<[HasSSE42]>; // X86-64 Instruction templates... // |