Description[arm64][turbofan]: Handle any immediate shift.
With this patch, we can generate simple immediate-shift instructions for
immediates outside the range "0 <= imm < width". Several related
instruction selectors have also been updated accordingly.
Example of generated code:
---- Before --- ---- After ----
movz w0, #33 lsr w0, w1, #1
lsr w0, w1, w0
BUG=
Committed: https://crrev.com/36d771bbfa4af5efcc1c1dcf5b234445cb7ee722
Cr-Commit-Position: refs/heads/master@{#28943}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|