Commit 880a6489 authored by paul.lind's avatar paul.lind Committed by Commit bot

MIPS: Fix reg use in SIMD.js Add the other SIMD Phase 1 types.

Port 7b9670b6

Only fails in debug builds.

TEST=mjsunit/harmony/simd
BUG=

Review URL: https://codereview.chromium.org/1264103005

Cr-Commit-Position: refs/heads/master@{#29993}
parent a246e296
......@@ -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);
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment