commit | 3177e104e727b802770cebe59dd19d708e0942a7 | [log] [tgz] |
---|---|---|
author | Lena Djokic <Lena.Djokic@mips.com> | Wed Feb 28 11:32:40 2018 +0100 |
committer | Lena Djokic <Lena.Djokic@mips.com> | Thu Mar 01 13:34:58 2018 +0100 |
tree | 87c84f95bbea34aa8651ab478c4ec460a4f4dacb | |
parent | 1ccfa59c180c62f88091048c3f7f65f1d511ed0c [diff] |
MIPS: Use sltiu instead of LoadConst32() + sltu Bltu is sltu + bnez so we can use sltiu + bnez without loading constant (if it is 16-bit constant). Additionally, in VisitInvokeInterface() LoadConst32() is moved to before Jalr(T9) so the load can be taken into the delay slot. Test: ./testrunner.py --target --optimizing in QEMU Change-Id: Ic19f251aeba015be38b7d3690e78b2fe59e7c5ae