commit | 3e5fecdeacdacf847d376adb05a9ad5587648139 | [log] [tgz] |
---|---|---|
author | Chris Larsen <chris.larsen@mips.com> | Thu Nov 09 14:21:28 2017 -0800 |
committer | Chris Larsen <chris.larsen@mips.com> | Thu Nov 09 14:24:37 2017 -0800 |
tree | 5a846ea9547a03a0aa52197058c7fdb5e922c0f6 | |
parent | 2202d56061941b4fecbdb018d84bcefb05b6c683 [diff] |
MIPS32: Use conditional moves to compute 64-bit shifts. Use conditional moves in InstructionCodeGeneratorMIPS::HandleShift()'s 64-bit variable shifts to avoid conditional branches (Beqz(TMP, &done)). Also, on R6 use Beqzc(TMP, &done, /* is_bare */ true) in place of Beqz(TMP, &done). Test: Boot & run tests on MIPS32r6 QEMU & on CI-20 hardware (MIPS32r2). Test: test/testrunner/testrunner.py --target --optimizing Change-Id: I4d34a51cd2397c845f936af853cb5f30e82de438