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:
paul.lind 2015-08-04 04:09:19 -07:00 committed by Commit bot
parent a246e296c6
commit 880a648954
2 changed files with 2 additions and 2 deletions

View File

@ -2186,7 +2186,7 @@ void LCodeGen::DoBranch(LBranch* instr) {
Label not_simd;
const Register scratch = scratch1();
__ lbu(scratch, FieldMemOperand(map, Map::kInstanceTypeOffset));
__ Branch(&not_simd, lt, at, Operand(FIRST_SIMD_VALUE_TYPE));
__ Branch(&not_simd, lt, scratch, Operand(FIRST_SIMD_VALUE_TYPE));
__ Branch(instr->TrueLabel(chunk_), le, scratch,
Operand(LAST_SIMD_VALUE_TYPE));
__ bind(&not_simd);

View File

@ -2287,7 +2287,7 @@ void LCodeGen::DoBranch(LBranch* instr) {
Label not_simd;
const Register scratch = scratch1();
__ lbu(scratch, FieldMemOperand(map, Map::kInstanceTypeOffset));
__ Branch(&not_simd, lt, at, Operand(FIRST_SIMD_VALUE_TYPE));
__ Branch(&not_simd, lt, scratch, Operand(FIRST_SIMD_VALUE_TYPE));
__ Branch(instr->TrueLabel(chunk_), le, scratch,
Operand(LAST_SIMD_VALUE_TYPE));
__ bind(&not_simd);