[PATCH] D122829: [AArch64] Optimize SDIV with pow2 constant divisor
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 31 11:09:39 PDT 2022
efriedma added a comment.
If I'm following correctly, this is essentially reverting D4438 <https://reviews.llvm.org/D4438> . It was implemented that way at the time to avoid the complex `add w8, w0, w8, lsr #26` operation. Reverting that isn't obviously an improvement; I don't think ARM microarchitecture has significantly changed in this respect since the last time it was measured.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122829/new/
https://reviews.llvm.org/D122829
More information about the llvm-commits
mailing list