DescriptionMIPS: Optimize load/store with large offset
Currently, we are using the following sequence for load/store with large offset (offset > 16b):
lui at, 0x1234
ori at, at, 0x5678
add at, s0, at
lw a0, 0(at)
This sequence can be optimized in the following way:
lui at, 0x1234
add at, s0, at
lw a0, 0x5678(at)
BUG=
Committed: https://crrev.com/6d054f765815e923a851f4a1ddaff3217ee57b58
Cr-Commit-Position: refs/heads/master@{#40953}
Patch Set 1 #
Messages
Total messages: 9 (3 generated)
|