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

Issue 1839643007: PPC: [crankshaft] Address the deoptimization loops of Math.floor, Math.round and Math.ceil. (Closed)

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

Description

PPC: [crankshaft] Address the deoptimization loops of Math.floor, Math.round and Math.ceil. Port 978ad03b9275fb338f6dd484c1ef732d1a97ccfe Original commit message: Fix and re-enable the flexible representation for Math.floor (which is used to implement Math.ceil) and Math.round, which allows Math.floor and Math.round to return double results instead of int32, and therefore allows values outside the int32 range, especially -0 is now a valid result, which doesn't deopt. Also port this feature to x64 and ia32 when the CPU supports the SSE4.1 extension. This addresses all the known deoptimization loops related to Math.round in the Kraken benchmark suite, and seems to also address most of the deoptimization loops related to Math.floor in the Oort Online benchmark. Drive-by-fix: Import the regression tests for the broken HMathFloorOfDiv optimization that caused the initial revert of the feature (for arm64 only back then). R=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com BUG=chromium:476477, v8:2890, v8:4059 LOG=n Committed: https://crrev.com/4e93ce4f62ab6766dad17d8a6132f5270c148f86 Cr-Commit-Position: refs/heads/master@{#35659}

Patch Set 1 #

Patch Set 2 : Fix DEBUG #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -19 lines) Patch
M src/crankshaft/hydrogen-instructions.h View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/ppc/lithium-codegen-ppc.cc View 1 2 chunks +29 lines, -2 lines 0 comments Download
M src/crankshaft/ppc/lithium-ppc.h View 4 chunks +32 lines, -9 lines 0 comments Download
M src/crankshaft/ppc/lithium-ppc.cc View 1 chunk +19 lines, -7 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
MTBrandyberry
PTAL
4 years, 8 months ago (2016-03-30 22:53:42 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1839643007/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1839643007/1
4 years, 8 months ago (2016-03-30 22:53:59 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-03-30 23:16:13 UTC) #5
JoranSiu
On 2016/03/30 23:16:13, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 8 months ago (2016-03-31 13:18:29 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1839643007/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1839643007/1
4 years, 8 months ago (2016-03-31 13:38:36 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/13054)
4 years, 8 months ago (2016-03-31 13:43:28 UTC) #10
MTBrandyberry
On 2016/03/31 13:43:28, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 8 months ago (2016-03-31 14:06:30 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1839643007/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1839643007/20001
4 years, 8 months ago (2016-04-01 02:33:05 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-01 06:08:48 UTC) #17
MTBrandyberry
On 2016/04/01 06:08:48, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 8 months ago (2016-04-01 15:27:49 UTC) #18
MTBrandyberry
On 2016/04/01 15:27:49, MTBrandyberry wrote: > On 2016/04/01 06:08:48, commit-bot: I haz the power wrote: ...
4 years, 8 months ago (2016-04-19 20:59:36 UTC) #19
Benedikt Meurer
Sorry, missed this one. LGTM.
4 years, 8 months ago (2016-04-20 03:56:07 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1839643007/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1839643007/20001
4 years, 8 months ago (2016-04-20 13:14:00 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-20 13:33:20 UTC) #25
nodir1
4 years, 8 months ago (2016-04-22 18:44:13 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4e93ce4f62ab6766dad17d8a6132f5270c148f86
Cr-Commit-Position: refs/heads/master@{#35659}

Powered by Google App Engine
This is Rietveld 408576698