mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 23:18:58 +00:00
[X86] Set the execution domain for VFPCLASS to SSEPackedSingle/Double.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317974 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
10b0bc2481
commit
e9276ec971
@ -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> opc, string OpcodeStr, SDNode OpNode,
|
||||
// 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> opc, string OpcodeStr, SDNode OpNode,
|
||||
(_.ScalarLdFrag addr:$src1))),
|
||||
(i32 imm:$src2))))], NoItinerary>,
|
||||
EVEX_B, EVEX_K;
|
||||
}
|
||||
}
|
||||
|
||||
multiclass avx512_vector_fpclass_all<string OpcodeStr,
|
||||
|
Loading…
Reference in New Issue
Block a user