Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Issue 2231053002: MIPS64: Fix [KeyedLoadIC] Support Smi "handlers" for element loads (Closed)

Created:
4 years, 4 months ago by ivica.bogosavljevic
Modified:
4 years, 4 months ago
CC:
v8-reviews_googlegroups.com, v8-port-mips_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

MIPS64: Fix [KeyedLoadIC] Support Smi "handlers" for element loads Fix 2cf2eef77bec7d30ccc80cb74950f35bc37404ed Fix test failures with tests working on external Uint32 arrays. Problem started to appear because Uint32 value was compared using Int32 compare operators in ChangeUint32ToTagged. On MIPS64. Uint32 value is not sign- extended, so upper 32 bits of this value are zero. MIPS64 doesn't have Word32Compare instructions but uses Word64Compare instructions in combination with properly sign-extended Int32 values. BUG=cctest/test-api/Uint32Array,cctest/test-api/SharedUint32Array, cctest/test-api/FixedUint32Array,mjsunit/compiler/uint32 Committed: https://crrev.com/3b7fbafe72389b990da0f07fbb28c98d425fb2cd Cr-Commit-Position: refs/heads/master@{#38680}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Address code review remarks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M src/code-stub-assembler.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 16 (7 generated)
ivica.bogosavljevic
Request for comments: On MIPS64, several tests started failing after `Support Smi "handlers" for element ...
4 years, 4 months ago (2016-08-10 15:01:52 UTC) #2
Benedikt Meurer
https://codereview.chromium.org/2231053002/diff/1/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2231053002/diff/1/src/code-stub-assembler.cc#newcode1831 src/code-stub-assembler.cc:1831: &if_not_overflow); This should probably use Uint32LessThan with kMaxSmiValue here.
4 years, 4 months ago (2016-08-11 13:01:27 UTC) #3
ivica.bogosavljevic
On 2016/08/11 13:01:27, Benedikt Meurer wrote: > https://codereview.chromium.org/2231053002/diff/1/src/code-stub-assembler.cc > File src/code-stub-assembler.cc (right): > > https://codereview.chromium.org/2231053002/diff/1/src/code-stub-assembler.cc#newcode1831 ...
4 years, 4 months ago (2016-08-12 13:43:18 UTC) #4
ivica.bogosavljevic
4 years, 4 months ago (2016-08-12 13:43:25 UTC) #5
ivica.bogosavljevic
Addressed code review remarks, PTAL
4 years, 4 months ago (2016-08-16 09:36:20 UTC) #6
Jakob Kummerow
lgtm
4 years, 4 months ago (2016-08-17 09:46:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2231053002/20001
4 years, 4 months ago (2016-08-17 12:38:33 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-17 12:40:37 UTC) #14
commit-bot: I haz the power
4 years, 4 months ago (2016-08-17 12:40:56 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3b7fbafe72389b990da0f07fbb28c98d425fb2cd
Cr-Commit-Position: refs/heads/master@{#38680}

Powered by Google App Engine
This is Rietveld 408576698