[PATCH] D92420: [PowerPC] Exploitation of xxeval instruction for AND and NAND
Baptiste Saleil via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 1 13:28:31 PST 2020
bsaleil added inline comments.
================
Comment at: llvm/lib/Target/PowerPC/PPCInstrPrefix.td:2599
+ (v4i32 (XXEVAL $vA, $vB, $vC, !sub(255, 7)))>;
+ def : Pat<(v4i32 (or (vnot_ppc v4i32:$vA), (or v4i32:$vB, v4i32:$vC))),
+ (v4i32 (XXEVAL $vA, $vB, $vC, !sub(255, 8)))>;
----------------
Should we add the equivalent functions from the ISA in comments next to the patterns that were simplified ? Like `// nand(A,nor(B,C))` here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92420/new/
https://reviews.llvm.org/D92420
More information about the llvm-commits
mailing list