summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2010-03-24 22:28:42 +0000
committerKevin Enderby <enderby@apple.com>2010-03-24 22:28:42 +0000
commitb96eb684970684b7a38492584f6690e00a2c7a11 (patch)
tree5f6017df3b26a507fe88e31cce5a2e94349aab90 /llvm/lib
parent2ceb288416199770e703cc8a9451e7a18d958c88 (diff)
downloadbcm5719-llvm-b96eb684970684b7a38492584f6690e00a2c7a11.tar.gz
bcm5719-llvm-b96eb684970684b7a38492584f6690e00a2c7a11.zip
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. llvm-svn: 99435
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86InstrFormats.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86InstrFormats.td b/llvm/lib/Target/X86/X86InstrFormats.td
index bb81cbf8ac1..c06b81b10a1 100644
--- a/llvm/lib/Target/X86/X86InstrFormats.td
+++ b/llvm/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...
//
OpenPOWER on IntegriCloud