diff options
| author | Vyacheslav Klochkov <vyacheslav.n.klochkov@gmail.com> | 2015-12-09 00:12:13 +0000 |
|---|---|---|
| committer | Vyacheslav Klochkov <vyacheslav.n.klochkov@gmail.com> | 2015-12-09 00:12:13 +0000 |
| commit | a3cd08b05cf1845b8d3f5de1a4ed4061c16b3c10 (patch) | |
| tree | f28cc60ec626fca1fb26a2f7c5bfb5227f34b841 /llvm/lib | |
| parent | 88a8f725cb00f8e18db2e7ebb191ddf71f8a14ba (diff) | |
| download | bcm5719-llvm-a3cd08b05cf1845b8d3f5de1a4ed4061c16b3c10.tar.gz bcm5719-llvm-a3cd08b05cf1845b8d3f5de1a4ed4061c16b3c10.zip | |
X86-FMA3: Defined the ExeDomain property for Scalar FMA3 opcodes.
Reviewer: Simon Pilgrim.
Differential Revision: http://reviews.llvm.org/D15317
llvm-svn: 255080
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/X86/X86InstrFMA.td | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86InstrFMA.td b/llvm/lib/Target/X86/X86InstrFMA.td index b11ff6e253f..fd800cf077f 100644 --- a/llvm/lib/Target/X86/X86InstrFMA.td +++ b/llvm/lib/Target/X86/X86InstrFMA.td @@ -223,9 +223,12 @@ multiclass fma3s_int_forms<bits<8> opc132, bits<8> opc213, bits<8> opc231, multiclass fma3s<bits<8> opc132, bits<8> opc213, bits<8> opc231, string OpStr, Intrinsic IntF32, Intrinsic IntF64, SDNode OpNode> { + let ExeDomain = SSEPackedSingle in defm SS : fma3s_forms<opc132, opc213, opc231, OpStr, "ss", OpNode, FR32, f32mem>, fma3s_int_forms<opc132, opc213, opc231, OpStr, "ss", VR128, ssmem>; + + let ExeDomain = SSEPackedDouble in defm SD : fma3s_forms<opc132, opc213, opc231, OpStr, "sd", OpNode, FR64, f64mem>, fma3s_int_forms<opc132, opc213, opc231, OpStr, "sd", VR128, sdmem>, |

