[llvm] r317974 - [X86] Set the execution domain for VFPCLASS to SSEPackedSingle/Double.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 10 22:57:44 PST 2017
Author: ctopper
Date: Fri Nov 10 22:57:44 2017
New Revision: 317974
URL: http://llvm.org/viewvc/llvm-project?rev=317974&view=rev
Log:
[X86] Set the execution domain for VFPCLASS to SSEPackedSingle/Double.
Modified:
llvm/trunk/lib/Target/X86/X86InstrAVX512.td
Modified: llvm/trunk/lib/Target/X86/X86InstrAVX512.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrAVX512.td?rev=317974&r1=317973&r2=317974&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrAVX512.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrAVX512.td Fri Nov 10 22:57:44 2017
@@ -2351,7 +2351,7 @@ let Predicates = [HasAVX512] in {
// op(mem_scalar,imm)
multiclass avx512_scalar_fpclass<bits<8> opc, string OpcodeStr, SDNode OpNode,
X86VectorVTInfo _, Predicate prd> {
- let Predicates = [prd] in {
+ let Predicates = [prd], ExeDomain = _.ExeDomain in {
def rr : AVX512<opc, MRMSrcReg, (outs _.KRC:$dst),
(ins _.RC:$src1, i32u8imm:$src2),
OpcodeStr##_.Suffix#"\t{$src2, $src1, $dst|$dst, $src1, $src2}",
@@ -2386,6 +2386,7 @@ multiclass avx512_scalar_fpclass<bits<8>
// fpclass(reg_vec, broadcast(eltVt), imm)
multiclass avx512_vector_fpclass<bits<8> opc, string OpcodeStr, SDNode OpNode,
X86VectorVTInfo _, string mem, string broadcast>{
+ let ExeDomain = _.ExeDomain in {
def rr : AVX512<opc, MRMSrcReg, (outs _.KRC:$dst),
(ins _.RC:$src1, i32u8imm:$src2),
OpcodeStr##_.Suffix#"\t{$src2, $src1, $dst|$dst, $src1, $src2}",
@@ -2431,6 +2432,7 @@ multiclass avx512_vector_fpclass<bits<8>
(_.ScalarLdFrag addr:$src1))),
(i32 imm:$src2))))], NoItinerary>,
EVEX_B, EVEX_K;
+ }
}
multiclass avx512_vector_fpclass_all<string OpcodeStr,
More information about the llvm-commits
mailing list