[PATCH] D117006: [PowerPC] Add custom lowering for SELECT_CC fp128 using xsmaxcqp
Amy Kwan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 25 06:20:22 PST 2022
amyk accepted this revision.
amyk added a comment.
Overall LGTM.
================
Comment at: llvm/lib/Target/PowerPC/PPCInstrPrefix.td:1915
let Predicates = [Power10Instrs] in {
- def XSMAXCQP : X_VT5_VA5_VB5<63, 676, "xsmaxcqp", []>;
- def XSMINCQP : X_VT5_VA5_VB5<63, 740, "xsmincqp", []>;
+ def XSMAXCQP : X_VT5_VA5_VB5<63, 676, "xsmaxcqp",
+ [(set f128:$vT, (PPCxsmaxc f128:$vA, f128:$vB))]>;
----------------
These are meant to be put under `[IsISA3_1, HasVSX]`, right?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117006/new/
https://reviews.llvm.org/D117006
More information about the llvm-commits
mailing list