[PATCH] D137026: [X86] Use GFNI for vXi8 shifts/rotates
Phoebe Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 30 23:56:32 PDT 2022
pengfei added inline comments.
================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:29935
+ return (getGFNICtrlImm(ISD::SRL, Amt) |
+ ((0x8080808080808080ULL >> (64 - (8 * Amt))) & (0ULL - (Amt > 0))));
+ case ISD::ROTL:
----------------
`Amt > 0 && Amt < 8`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137026/new/
https://reviews.llvm.org/D137026
More information about the llvm-commits
mailing list