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

Issue 160423002: A64 support for DoubleToIStub (truncating). (Closed)

Created:
6 years, 10 months ago by rmcilroy
Modified:
6 years, 10 months ago
CC:
v8-dev
Visibility:
Public.

Description

A64 support for DoubleToIStub (truncating). Added support for truncating DoubleToIStub and reorganize the macro-assembler dToI operations to do the fast-path inline and the slow path by calling the stub. This a port essentially a port of https://codereview.chromium.org/23129003/. R=jacob.bramley@arm.com, ulan@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=19414

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 26

Patch Set 5 : Address Jacob's comments #

Patch Set 6 : Add comments #

Total comments: 1

Patch Set 7 : Add test cases #

Unified diffs Side-by-side diffs Delta from patch set Stats (+255 lines, -256 lines) Patch
M src/a64/assembler-a64.h View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M src/a64/assembler-a64.cc View 1 2 3 4 1 chunk +13 lines, -0 lines 0 comments Download
M src/a64/code-stubs-a64.cc View 1 2 3 4 1 chunk +79 lines, -0 lines 0 comments Download
M src/a64/lithium-a64.h View 1 chunk +2 lines, -6 lines 0 comments Download
M src/a64/lithium-a64.cc View 1 chunk +1 line, -3 lines 0 comments Download
M src/a64/lithium-codegen-a64.cc View 1 2 3 4 2 chunks +5 lines, -8 lines 0 comments Download
M src/a64/macro-assembler-a64.h View 1 chunk +28 lines, -26 lines 0 comments Download
M src/a64/macro-assembler-a64.cc View 1 2 3 4 5 2 chunks +54 lines, -79 lines 0 comments Download
M src/arm/code-stubs-arm.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/cctest.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M test/cctest/test-assembler-a64.cc View 1 chunk +0 lines, -101 lines 0 comments Download
M test/cctest/test-code-stubs.cc View 1 2 3 4 5 6 3 chunks +31 lines, -2 lines 0 comments Download
A + test/cctest/test-code-stubs-a64.cc View 1 2 3 4 5 6 4 chunks +32 lines, -31 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
rmcilroy
PTAL.
6 years, 10 months ago (2014-02-13 08:17:26 UTC) #1
jbramley
https://codereview.chromium.org/160423002/diff/160001/src/a64/assembler-a64.cc File src/a64/assembler-a64.cc (right): https://codereview.chromium.org/160423002/diff/160001/src/a64/assembler-a64.cc#newcode183 src/a64/assembler-a64.cc:183: Register GetRegisterThatIsNotOneOf(Register reg1, Register reg2, I'd call it GetAllocatableRegisterThatIsNotOneOf(...). ...
6 years, 10 months ago (2014-02-13 14:20:14 UTC) #2
rmcilroy
Thanks for the review. Comments below. https://codereview.chromium.org/160423002/diff/160001/src/a64/assembler-a64.cc File src/a64/assembler-a64.cc (right): https://codereview.chromium.org/160423002/diff/160001/src/a64/assembler-a64.cc#newcode183 src/a64/assembler-a64.cc:183: Register GetRegisterThatIsNotOneOf(Register reg1, ...
6 years, 10 months ago (2014-02-14 12:45:07 UTC) #3
jbramley
https://codereview.chromium.org/160423002/diff/160001/src/a64/code-stubs-a64.cc File src/a64/code-stubs-a64.cc (right): https://codereview.chromium.org/160423002/diff/160001/src/a64/code-stubs-a64.cc#newcode539 src/a64/code-stubs-a64.cc:539: void DoubleToIStub::Generate(MacroAssembler* masm) { On 2014/02/14 12:45:07, rmcilroy wrote: ...
6 years, 10 months ago (2014-02-14 12:57:37 UTC) #4
rmcilroy
https://codereview.chromium.org/160423002/diff/160001/src/a64/code-stubs-a64.cc File src/a64/code-stubs-a64.cc (right): https://codereview.chromium.org/160423002/diff/160001/src/a64/code-stubs-a64.cc#newcode556 src/a64/code-stubs-a64.cc:556: __ Push(scratch1, scratch2); On 2014/02/14 12:57:38, jbramley wrote: > ...
6 years, 10 months ago (2014-02-14 13:44:17 UTC) #5
rmcilroy
On 2014/02/14 13:44:17, rmcilroy wrote: > https://codereview.chromium.org/160423002/diff/160001/src/a64/code-stubs-a64.cc > File src/a64/code-stubs-a64.cc (right): > > https://codereview.chromium.org/160423002/diff/160001/src/a64/code-stubs-a64.cc#newcode556 > ...
6 years, 10 months ago (2014-02-17 09:55:00 UTC) #6
jbramley
I have one last question! https://codereview.chromium.org/160423002/diff/340001/test/cctest/test-assembler-a64.cc File test/cctest/test-assembler-a64.cc (left): https://codereview.chromium.org/160423002/diff/340001/test/cctest/test-assembler-a64.cc#oldcode9377 test/cctest/test-assembler-a64.cc:9377: TEST(ecma_262_to_int32) { Does this ...
6 years, 10 months ago (2014-02-17 10:32:39 UTC) #7
rmcilroy
On 2014/02/17 10:32:39, jbramley wrote: > I have one last question! > > https://codereview.chromium.org/160423002/diff/340001/test/cctest/test-assembler-a64.cc > ...
6 years, 10 months ago (2014-02-17 13:32:23 UTC) #8
jbramley
lgtm Fantastic, thanks!
6 years, 10 months ago (2014-02-17 13:34:17 UTC) #9
ulan
lgtm (rubber-stamp)
6 years, 10 months ago (2014-02-17 13:56:42 UTC) #10
rmcilroy
6 years, 10 months ago (2014-02-17 15:10:00 UTC) #11
Message was sent while issue was closed.
Committed patchset #7 manually as r19414 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698