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

Issue 1225943002: Reland: Add unoptimized/optimized variants of MathFloor TF code stub (Closed)

Created:
5 years, 5 months ago by danno
Modified:
5 years, 5 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Reland: Add unoptimized/optimized variants of MathFloor TF code stub - Add a TurboFanIC class, derived from TurboFanCodeStub, that automatically distinguishes between versions of the IC called from optimized and unoptimized code. - Add appropriate InterfaceDescriptors for both the versions of the stub called from unoptimized and optimized code - Change the MathFloor TF stub generator to output either the for-optimized or for-unoptimized version based on the minor_key parameter. Committed: https://crrev.com/8f13b655b8a10dae2116dd18b32f09337bb2d410 Cr-Commit-Position: refs/heads/master@{#29534} Committed: https://crrev.com/737b8573f80deaa1cbaec98f42ecd3e3b56ba901 Cr-Commit-Position: refs/heads/master@{#29539}

Patch Set 1 #

Patch Set 2 : Tweak tests #

Total comments: 4

Patch Set 3 : Review feedback #

Patch Set 4 : Remove bogus test #

Patch Set 5 : Fix nosnap bug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+223 lines, -55 lines) Patch
M src/arm/interface-descriptors-arm.cc View 1 chunk +13 lines, -2 lines 0 comments Download
M src/arm64/interface-descriptors-arm64.cc View 1 chunk +13 lines, -2 lines 0 comments Download
M src/code-stubs.h View 1 2 5 chunks +56 lines, -7 lines 0 comments Download
M src/ia32/interface-descriptors-ia32.cc View 1 chunk +13 lines, -2 lines 0 comments Download
M src/interface-descriptors.h View 2 chunks +15 lines, -4 lines 0 comments Download
M src/interface-descriptors.cc View 1 chunk +20 lines, -6 lines 0 comments Download
M src/mips/interface-descriptors-mips.cc View 1 chunk +13 lines, -2 lines 0 comments Download
M src/mips64/interface-descriptors-mips64.cc View 1 chunk +13 lines, -2 lines 0 comments Download
M src/runtime.js View 1 2 3 4 2 chunks +24 lines, -4 lines 0 comments Download
M src/x64/interface-descriptors-x64.cc View 1 chunk +13 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-run-stubs.cc View 1 2 3 2 chunks +9 lines, -6 lines 0 comments Download
M test/mjsunit/compiler/stubs/floor-stub.js View 1 chunk +21 lines, -16 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 21 (8 generated)
danno
PTAL
5 years, 5 months ago (2015-07-08 08:33:57 UTC) #2
mvstanton
LGTM modulo a couple comments. Nice to see this coming together! https://codereview.chromium.org/1225943002/diff/20001/src/code-stubs.h File src/code-stubs.h (right): ...
5 years, 5 months ago (2015-07-08 09:42:29 UTC) #3
Benedikt Meurer
LGTM.
5 years, 5 months ago (2015-07-08 12:21:30 UTC) #4
danno
Feedback addressed. https://codereview.chromium.org/1225943002/diff/20001/src/code-stubs.h File src/code-stubs.h (right): https://codereview.chromium.org/1225943002/diff/20001/src/code-stubs.h#newcode102 src/code-stubs.h:102: V(MathFloor) \ On 2015/07/08 09:42:29, mvstanton wrote: ...
5 years, 5 months ago (2015-07-08 13:08:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1225943002/40001
5 years, 5 months ago (2015-07-08 13:09:49 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: v8_mac_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel/builds/7528) (exceeded global retry quota)
5 years, 5 months ago (2015-07-08 13:19:38 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1225943002/60001
5 years, 5 months ago (2015-07-08 14:05:53 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 5 months ago (2015-07-08 14:43:14 UTC) #14
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/8f13b655b8a10dae2116dd18b32f09337bb2d410 Cr-Commit-Position: refs/heads/master@{#29534}
5 years, 5 months ago (2015-07-08 14:43:40 UTC) #15
danno
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1220783006/ by danno@chromium.org. ...
5 years, 5 months ago (2015-07-08 15:00:10 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1225943002/80001
5 years, 5 months ago (2015-07-08 16:27:30 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 5 months ago (2015-07-08 16:53:38 UTC) #20
commit-bot: I haz the power
5 years, 5 months ago (2015-07-08 16:54:03 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/737b8573f80deaa1cbaec98f42ecd3e3b56ba901
Cr-Commit-Position: refs/heads/master@{#29539}

Powered by Google App Engine
This is Rietveld 408576698