diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2010-07-23 00:54:35 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2010-07-23 00:54:35 +0000 |
commit | 6b7e9168a451a7c07ceda1c92470b3b691e35c20 (patch) | |
tree | 018b398bc83484bf63b3ba455eba21e9b9158756 /lib/Target/X86/X86InstrFormats.td | |
parent | c76d23f2e2550c60aaa26ec23711aecebea7f533 (diff) | |
download | external_llvm-6b7e9168a451a7c07ceda1c92470b3b691e35c20.zip external_llvm-6b7e9168a451a7c07ceda1c92470b3b691e35c20.tar.gz external_llvm-6b7e9168a451a7c07ceda1c92470b3b691e35c20.tar.bz2 |
Add complete assembler support for FMA3 instructions, with descriptions and encodings taken from the AVX manual
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109204 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrFormats.td')
-rw-r--r-- | lib/Target/X86/X86InstrFormats.td | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/X86/X86InstrFormats.td b/lib/Target/X86/X86InstrFormats.td index 1ff26b7..380426f 100644 --- a/lib/Target/X86/X86InstrFormats.td +++ b/lib/Target/X86/X86InstrFormats.td @@ -439,6 +439,12 @@ class AESAI<bits<8> o, Format F, dag outs, dag ins, string asm, : Ii8<o, F, outs, ins, asm, pattern, SSEPackedInt>, TA, Requires<[HasAES]>; +// FMA3 Instruction Templates +class FMA3<bits<8> o, Format F, dag outs, dag ins, string asm, + list<dag>pattern> + : I<o, F, outs, ins, asm, pattern, SSEPackedInt>, T8, + OpSize, VEX_4V, Requires<[HasFMA3]>; + // X86-64 Instruction templates... // |