DescriptionMIPS[64]: Disable Add/Shl to Lsa optimization if operand is immediate
Add/Shl to Lsa optimization doesn't yield any performance increase in case
one of the operand is immediate, because Lsa cannot use the immediate so
we use an extra instruction to load the immediate to register. On MIPSR2 and
less this optimization leads to performance degradation, since Lsa is not
supported on these architectures and it is emulated using Add/Shl which
do support immediate as operand for Add.
BUG=
Committed: https://crrev.com/591a7ce05b6cbec052126b8b540b7176db455819
Cr-Commit-Position: refs/heads/master@{#41143}
Patch Set 1 #
Messages
Total messages: 12 (6 generated)
|