MIPS: Fix reg use in SIMD.js Add the other SIMD Phase 1 types.
Port 7b9670b63b
Only fails in debug builds.
TEST=mjsunit/harmony/simd
BUG=
Review URL: https://codereview.chromium.org/1264103005
Cr-Commit-Position: refs/heads/master@{#29993}
This commit is contained in:
parent
a246e296c6
commit
880a648954
@ -2186,7 +2186,7 @@ void LCodeGen::DoBranch(LBranch* instr) {
|
||||
Label not_simd;
|
||||
const Register scratch = scratch1();
|
||||
__ lbu(scratch, FieldMemOperand(map, Map::kInstanceTypeOffset));
|
||||
__ Branch(¬_simd, lt, at, Operand(FIRST_SIMD_VALUE_TYPE));
|
||||
__ Branch(¬_simd, lt, scratch, Operand(FIRST_SIMD_VALUE_TYPE));
|
||||
__ Branch(instr->TrueLabel(chunk_), le, scratch,
|
||||
Operand(LAST_SIMD_VALUE_TYPE));
|
||||
__ bind(¬_simd);
|
||||
|
@ -2287,7 +2287,7 @@ void LCodeGen::DoBranch(LBranch* instr) {
|
||||
Label not_simd;
|
||||
const Register scratch = scratch1();
|
||||
__ lbu(scratch, FieldMemOperand(map, Map::kInstanceTypeOffset));
|
||||
__ Branch(¬_simd, lt, at, Operand(FIRST_SIMD_VALUE_TYPE));
|
||||
__ Branch(¬_simd, lt, scratch, Operand(FIRST_SIMD_VALUE_TYPE));
|
||||
__ Branch(instr->TrueLabel(chunk_), le, scratch,
|
||||
Operand(LAST_SIMD_VALUE_TYPE));
|
||||
__ bind(¬_simd);
|
||||
|
Loading…
Reference in New Issue
Block a user