Description[ARM64] Optimize load followed by shift.
Instead of loading 64 bits and shifting:
ldr x0, [x1, #offset]
asr x0, x0, #32
directly load the interesting 32 bits and sign-extend:
ldrsw x0, [x1, #offset+4]
BUG=
Committed: https://crrev.com/dc6b5109d7ee98965812c5a30bac413e3c29acfa
Cr-Commit-Position: refs/heads/master@{#38622}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|