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

Issue 2207893002: [turbofan] Consume SignedSmall feedback for number operations. (Closed)

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

Description

[turbofan] Consume SignedSmall feedback for number operations. So far we treated SignedSmall and Signed32 feedback the same for number operations. However it would be beneficial to generate (a lot) less code if we only do a Smi check on the inputs instead of doing the full Smi + HeapNumber + conversion check that we need to do for Signed32 feedback. R=epertoso@chromium.org BUG=v8:4583 Committed: https://crrev.com/cf4b9307ad5fa3864244ec23883f0ac5094372cc Cr-Commit-Position: refs/heads/master@{#38290}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -50 lines) Patch
M src/compiler/effect-control-linearizer.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/compiler/effect-control-linearizer.cc View 2 chunks +20 lines, -0 lines 0 comments Download
M src/compiler/opcodes.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/redundancy-elimination.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/representation-change.h View 2 chunks +12 lines, -1 line 0 comments Download
M src/compiler/representation-change.cc View 6 chunks +14 lines, -6 lines 0 comments Download
M src/compiler/simplified-lowering.cc View 10 chunks +29 lines, -25 lines 0 comments Download
M src/compiler/simplified-operator.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/simplified-operator.cc View 1 chunk +18 lines, -17 lines 0 comments Download
M src/compiler/verifier.cc View 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/cctest.status View 2 chunks +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 14 (6 generated)
Benedikt Meurer
4 years, 4 months ago (2016-08-03 12:12:02 UTC) #1
epertoso
lgtm
4 years, 4 months ago (2016-08-03 12:21:39 UTC) #4
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/2207893002/1
4 years, 4 months ago (2016-08-03 12:23:35 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-03 12:45:41 UTC) #8
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/cf4b9307ad5fa3864244ec23883f0ac5094372cc Cr-Commit-Position: refs/heads/master@{#38290}
4 years, 4 months ago (2016-08-03 12:48:00 UTC) #10
Michael Achenbach
Any chance this started here? https://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20gc%20stress/builds/5050
4 years, 4 months ago (2016-08-03 19:15:04 UTC) #12
Benedikt Meurer
On 2016/08/03 19:15:04, Michael Achenbach (slow) wrote: > Any chance this started here? > https://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20gc%20stress/builds/5050 ...
4 years, 4 months ago (2016-08-04 03:34:20 UTC) #13
Benedikt Meurer
4 years, 4 months ago (2016-08-04 03:40:42 UTC) #14
Message was sent while issue was closed.
On 2016/08/04 03:34:20, Benedikt Meurer wrote:
> On 2016/08/03 19:15:04, Michael Achenbach (slow) wrote:
> > Any chance this started here?
> >
>
https://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20gc%20stress/...
> 
> Highly unlikely, this test doesn't even compile a single function with
TurboFan,
> even when run with --turbo.

Looks a lot like WASM calls to the runtime directly from a WASM function, then a
GC happens and relocates some of the parameters (which WASM doesn't mark as
tagged and so the GC doesn't update the pointer), and then the runtime function
accesses a stale pointer.

Powered by Google App Engine
This is Rietveld 408576698