[PATCH] D121147: [x86] try harder to use shift instead of test if it can save some immediate bytes
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 7 14:03:37 PST 2022
craig.topper added a comment.
In D121147#3365414 <https://reviews.llvm.org/D121147#3365414>, @RKSimon wrote:
> I like this, but I don't know if any intel archs have slow shift-by-imm ops (slow eflags updates) like they do for non-immediate shift amounts?
I think it should be ok. The decoders can see the shift amount and do some tricks to make the flags efficient.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121147/new/
https://reviews.llvm.org/D121147
More information about the llvm-commits
mailing list