mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-30 17:02:29 +00:00
[X86][SSE] (V)PMINSB is commutable.
(V)PMINSB is no different to the other (V)PMIN/(V)PMAX B/D/W instructions - it is fully commutable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241994 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b3a04b5806
commit
9c64d9cc04
@ -6834,7 +6834,6 @@ multiclass SS48I_binop_rm2<bits<8> opc, string OpcodeStr, SDNode OpNode,
|
||||
}
|
||||
|
||||
let Predicates = [HasAVX, NoVLX] in {
|
||||
let isCommutable = 0 in
|
||||
defm VPMINSB : SS48I_binop_rm<0x38, "vpminsb", smin, v16i8, VR128,
|
||||
loadv2i64, i128mem, 0, SSE_INTALU_ITINS_P>,
|
||||
VEX_4V;
|
||||
@ -6865,7 +6864,6 @@ let Predicates = [HasAVX, NoVLX] in {
|
||||
}
|
||||
|
||||
let Predicates = [HasAVX2, NoVLX] in {
|
||||
let isCommutable = 0 in
|
||||
defm VPMINSBY : SS48I_binop_rm<0x38, "vpminsb", smin, v32i8, VR256,
|
||||
loadv4i64, i256mem, 0, SSE_INTALU_ITINS_P>,
|
||||
VEX_4V, VEX_L;
|
||||
@ -6896,7 +6894,6 @@ let Predicates = [HasAVX2, NoVLX] in {
|
||||
}
|
||||
|
||||
let Constraints = "$src1 = $dst" in {
|
||||
let isCommutable = 0 in
|
||||
defm PMINSB : SS48I_binop_rm<0x38, "pminsb", smin, v16i8, VR128,
|
||||
memopv2i64, i128mem, 1, SSE_INTALU_ITINS_P>;
|
||||
defm PMINSD : SS48I_binop_rm<0x39, "pminsd", smin, v4i32, VR128,
|
||||
|
Loading…
x
Reference in New Issue
Block a user