diff options
author | Craig Topper <craig.topper@gmail.com> | 2011-10-16 16:50:08 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2011-10-16 16:50:08 +0000 |
commit | ee62e4f6d192ee31d1ad9dd0ba0c41db6663d3c7 (patch) | |
tree | 39b3ad43df8c65da0e6a15beddacefe5dae31560 /lib/Target/X86/X86InstrFormats.td | |
parent | 962bad70f4277841cf6278306caa93ebce304b48 (diff) | |
download | external_llvm-ee62e4f6d192ee31d1ad9dd0ba0c41db6663d3c7.zip external_llvm-ee62e4f6d192ee31d1ad9dd0ba0c41db6663d3c7.tar.gz external_llvm-ee62e4f6d192ee31d1ad9dd0ba0c41db6663d3c7.tar.bz2 |
Add X86 PEXTR and PDEP instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142141 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrFormats.td')
-rw-r--r-- | lib/Target/X86/X86InstrFormats.td | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Target/X86/X86InstrFormats.td b/lib/Target/X86/X86InstrFormats.td index d291e43..5b7adf3 100644 --- a/lib/Target/X86/X86InstrFormats.td +++ b/lib/Target/X86/X86InstrFormats.td @@ -107,7 +107,8 @@ class T8 { bits<5> Prefix = 13; } class TA { bits<5> Prefix = 14; } class A6 { bits<5> Prefix = 15; } class A7 { bits<5> Prefix = 16; } -class TF { bits<5> Prefix = 17; } +class T8XD { bits<5> Prefix = 17; } +class T8XS { bits<5> Prefix = 18; } class VEX { bit hasVEXPrefix = 1; } class VEX_W { bit hasVEX_WPrefix = 1; } class VEX_4V : VEX { bit hasVEX_4VPrefix = 1; } @@ -424,10 +425,10 @@ class SS428I<bits<8> o, Format F, dag outs, dag ins, string asm, : I<o, F, outs, ins, asm, pattern, SSEPackedInt>, T8, Requires<[HasSSE42]>; -// SS42FI - SSE 4.2 instructions with TF prefix. +// SS42FI - SSE 4.2 instructions with T8XD prefix. class SS42FI<bits<8> o, Format F, dag outs, dag ins, string asm, list<dag> pattern> - : I<o, F, outs, ins, asm, pattern>, TF, Requires<[HasSSE42]>; + : I<o, F, outs, ins, asm, pattern>, T8XD, Requires<[HasSSE42]>; // SS42AI = SSE 4.2 instructions with TA prefix class SS42AI<bits<8> o, Format F, dag outs, dag ins, string asm, |