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

Issue 22290005: Move ToI conversions to the MacroAssembler (Closed)

Created:
7 years, 4 months ago by oliv
Modified:
7 years, 3 months ago
Reviewers:
danno, Toon Verwaest
CC:
v8-dev
Visibility:
Public.

Description

Move ToI conversions to the MacroAssembler + Replace DeferredTaggedToINoSSE2 by DoubleToIStub and a fpu version. + Prevent truncating TaggedToI from bailing out. BUG= R=verwaest@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=16464

Patch Set 1 : #

Total comments: 6

Patch Set 2 : address review and add test coverage for external array number truncation #

Total comments: 2

Patch Set 3 : rebase #

Patch Set 4 : add missing non-sse2 implementations and address review #

Patch Set 5 : add 2 asserts #

Total comments: 10

Patch Set 6 : address review #

Total comments: 8

Patch Set 7 : switch the order of arguments #

Patch Set 8 : address review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+390 lines, -421 lines) Patch
M src/hydrogen-instructions.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M src/ia32/assembler-ia32.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 3 4 5 6 7 4 chunks +9 lines, -37 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.h View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 4 5 6 6 chunks +51 lines, -340 lines 0 comments Download
M src/ia32/lithium-ia32.h View 1 2 2 chunks +0 lines, -26 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 1 2 2 chunks +7 lines, -16 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 2 3 4 5 6 1 chunk +15 lines, -0 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 2 3 4 5 6 1 chunk +225 lines, -0 lines 0 comments Download
M src/v8globals.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M test/mjsunit/external-array.js View 1 1 chunk +34 lines, -0 lines 0 comments Download
M test/mjsunit/external-array-no-sse2.js View 1 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
oliv
7 years, 4 months ago (2013-08-07 09:03:01 UTC) #1
danno
https://codereview.chromium.org/22290005/diff/33001/src/ia32/macro-assembler-ia32.cc File src/ia32/macro-assembler-ia32.cc (right): https://codereview.chromium.org/22290005/diff/33001/src/ia32/macro-assembler-ia32.cc#newcode279 src/ia32/macro-assembler-ia32.cc:279: void MacroAssembler::TaggedToI(Register input_reg, Register result_reg, Why not just pass ...
7 years, 4 months ago (2013-08-09 13:27:24 UTC) #2
oliv
ptal https://codereview.chromium.org/22290005/diff/33001/src/ia32/macro-assembler-ia32.cc File src/ia32/macro-assembler-ia32.cc (right): https://codereview.chromium.org/22290005/diff/33001/src/ia32/macro-assembler-ia32.cc#newcode279 src/ia32/macro-assembler-ia32.cc:279: void MacroAssembler::TaggedToI(Register input_reg, Register result_reg, On 2013/08/09 13:27:25, ...
7 years, 4 months ago (2013-08-12 12:18:46 UTC) #3
danno
https://codereview.chromium.org/22290005/diff/44001/src/ia32/macro-assembler-ia32.cc File src/ia32/macro-assembler-ia32.cc (right): https://codereview.chromium.org/22290005/diff/44001/src/ia32/macro-assembler-ia32.cc#newcode281 src/ia32/macro-assembler-ia32.cc:281: XMMRegister temp, bool bailout_on_minus_zero, Label* bailout) { perhaps a ...
7 years, 4 months ago (2013-08-13 13:04:20 UTC) #4
oliv
On 2013/08/13 13:04:20, danno wrote: > https://codereview.chromium.org/22290005/diff/44001/src/ia32/macro-assembler-ia32.cc > File src/ia32/macro-assembler-ia32.cc (right): > > https://codereview.chromium.org/22290005/diff/44001/src/ia32/macro-assembler-ia32.cc#newcode281 > ...
7 years, 4 months ago (2013-08-20 15:14:44 UTC) #5
danno
Very close, I like this CL a lot. About testing: Can you make sure that ...
7 years, 4 months ago (2013-08-20 16:14:28 UTC) #6
oliv
> About testing: Can you make sure that all of the code paths > are ...
7 years, 4 months ago (2013-08-20 16:56:23 UTC) #7
Toon Verwaest
I like this change, but there seem to still be issues with it. If missing, ...
7 years, 3 months ago (2013-08-27 14:49:28 UTC) #8
oliv
PTAL. comments addressed and arguments swapped to conform with the order /most/ other instructions have. ...
7 years, 3 months ago (2013-08-28 08:28:54 UTC) #9
Toon Verwaest
lgtm
7 years, 3 months ago (2013-08-30 09:28:38 UTC) #10
oliv
7 years, 3 months ago (2013-09-02 09:31:10 UTC) #11
Message was sent while issue was closed.
Committed patchset #8 manually as r16464 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698