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

Issue 763963002: [turbofan] Add checked load/store operators. (Closed)

Created:
6 years ago by Benedikt Meurer
Modified:
6 years ago
Reviewers:
Jarin, Rodolph Perfetta
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Project:
v8
Visibility:
Public.

Description

[turbofan] Add checked load/store operators. TEST=mjsunit,cctest,unittests R=jarin@chromium.org Committed: https://chromium.googlesource.com/v8/v8/+/c516d4f09408879602520748333754d3866224fb

Patch Set 1 #

Patch Set 2 : Fixes #

Patch Set 3 : Fixes2 #

Patch Set 4 : Fixes3 #

Patch Set 5 : Add arm64. #

Patch Set 6 : Fixes4 and REBASE #

Total comments: 4

Patch Set 7 : [arm64] Replace bind with Bind. #

Total comments: 2

Patch Set 8 : Address Jaros comment. #

Patch Set 9 : Reapply fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2179 lines, -715 lines) Patch
M src/arm/assembler-arm.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/arm/assembler-arm.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M src/compiler/access-builder.cc View 1 2 chunks +10 lines, -19 lines 0 comments Download
M src/compiler/arm/code-generator-arm.cc View 1 2 3 4 5 4 chunks +151 lines, -11 lines 0 comments Download
M src/compiler/arm/instruction-selector-arm.cc View 1 2 3 4 5 1 chunk +76 lines, -0 lines 0 comments Download
M src/compiler/arm64/code-generator-arm64.cc View 1 2 3 4 5 6 8 5 chunks +145 lines, -4 lines 0 comments Download
M src/compiler/arm64/instruction-selector-arm64.cc View 1 2 3 4 1 chunk +70 lines, -0 lines 0 comments Download
M src/compiler/code-generator.h View 4 chunks +5 lines, -2 lines 0 comments Download
M src/compiler/code-generator.cc View 1 2 3 chunks +21 lines, -1 line 0 comments Download
M src/compiler/code-generator-impl.h View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
M src/compiler/ia32/code-generator-ia32.cc View 1 2 2 chunks +132 lines, -3 lines 0 comments Download
M src/compiler/ia32/instruction-selector-ia32.cc View 1 2 1 chunk +136 lines, -0 lines 0 comments Download
M src/compiler/instruction-codes.h View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M src/compiler/instruction-selector.h View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M src/compiler/instruction-selector.cc View 1 2 3 chunks +36 lines, -0 lines 0 comments Download
M src/compiler/js-graph.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/compiler/js-typed-lowering.h View 1 2 3 4 5 3 chunks +5 lines, -2 lines 0 comments Download
M src/compiler/js-typed-lowering.cc View 1 2 3 4 5 6 7 5 chunks +96 lines, -62 lines 0 comments Download
M src/compiler/machine-operator.h View 1 2 chunks +17 lines, -0 lines 0 comments Download
M src/compiler/machine-operator.cc View 1 4 chunks +94 lines, -30 lines 0 comments Download
M src/compiler/machine-operator-reducer.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/machine-operator-reducer.cc View 1 2 5 chunks +68 lines, -58 lines 0 comments Download
M src/compiler/opcodes.h View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M src/compiler/simplified-lowering.h View 1 2 chunks +8 lines, -1 line 0 comments Download
M src/compiler/simplified-lowering.cc View 1 3 chunks +79 lines, -142 lines 0 comments Download
M src/compiler/simplified-operator.h View 1 5 chunks +33 lines, -15 lines 0 comments Download
M src/compiler/simplified-operator.cc View 1 5 chunks +108 lines, -15 lines 0 comments Download
M src/compiler/simplified-operator-reducer.cc View 1 1 chunk +0 lines, -32 lines 0 comments Download
M src/compiler/typer.h View 1 2 chunks +8 lines, -3 lines 0 comments Download
M src/compiler/typer.cc View 1 2 3 4 5 6 7 6 chunks +60 lines, -22 lines 0 comments Download
M src/compiler/verifier.cc View 1 3 chunks +6 lines, -0 lines 0 comments Download
M src/compiler/x64/code-generator-x64.cc View 1 2 3 3 chunks +132 lines, -3 lines 0 comments Download
M src/compiler/x64/instruction-selector-x64.cc View 1 2 3 3 chunks +114 lines, -10 lines 0 comments Download
M src/ia32/assembler-ia32.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M src/ia32/assembler-ia32.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M test/cctest/compiler/simplified-graph-builder.h View 1 1 chunk +4 lines, -6 lines 0 comments Download
M test/cctest/compiler/test-simplified-lowering.cc View 1 2 12 chunks +36 lines, -51 lines 0 comments Download
M test/unittests/compiler/js-typed-lowering-unittest.cc View 1 8 chunks +132 lines, -24 lines 0 comments Download
M test/unittests/compiler/machine-operator-reducer-unittest.cc View 1 3 chunks +28 lines, -2 lines 0 comments Download
M test/unittests/compiler/node-test-utils.h View 1 2 2 chunks +15 lines, -2 lines 0 comments Download
M test/unittests/compiler/node-test-utils.cc View 1 2 9 chunks +169 lines, -25 lines 0 comments Download
M test/unittests/compiler/simplified-operator-reducer-unittest.cc View 1 1 chunk +0 lines, -120 lines 0 comments Download
M test/unittests/compiler/simplified-operator-unittest.cc View 1 3 chunks +109 lines, -42 lines 0 comments Download
M test/unittests/test-utils.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M test/unittests/test-utils.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Benedikt Meurer
PTAL
6 years ago (2014-12-01 14:42:55 UTC) #2
Rodolph Perfetta
DBC https://codereview.chromium.org/763963002/diff/100001/src/compiler/arm64/code-generator-arm64.cc File src/compiler/arm64/code-generator-arm64.cc (right): https://codereview.chromium.org/763963002/diff/100001/src/compiler/arm64/code-generator-arm64.cc#newcode185 src/compiler/arm64/code-generator-arm64.cc:185: __ Fmov(result_, std::numeric_limits<float>::quiet_NaN()); This won't do what you ...
6 years ago (2014-12-01 15:16:34 UTC) #4
Rodolph Perfetta
Argh, scratch that, DoubleRegister is an alias for FPRegister so it doesn't have to be ...
6 years ago (2014-12-01 15:37:30 UTC) #5
Benedikt Meurer
https://codereview.chromium.org/763963002/diff/100001/src/compiler/arm64/code-generator-arm64.cc File src/compiler/arm64/code-generator-arm64.cc (right): https://codereview.chromium.org/763963002/diff/100001/src/compiler/arm64/code-generator-arm64.cc#newcode185 src/compiler/arm64/code-generator-arm64.cc:185: __ Fmov(result_, std::numeric_limits<float>::quiet_NaN()); Yeah the arm64 macro assembler can ...
6 years ago (2014-12-01 17:58:40 UTC) #6
Jarin
lgtm with a question. https://codereview.chromium.org/763963002/diff/120001/src/compiler/typer.cc File src/compiler/typer.cc (right): https://codereview.chromium.org/763963002/diff/120001/src/compiler/typer.cc#newcode72 src/compiler/typer.cc:72: signed8_ = Type::Range(f->NewNumber(-0x7F), f->NewNumber(0x7F - ...
6 years ago (2014-12-01 21:37:11 UTC) #7
Jarin
lgtm with a question.
6 years ago (2014-12-01 21:37:13 UTC) #8
Benedikt Meurer
Committed patchset #9 (id:160001) manually as c516d4f09408879602520748333754d3866224fb (presubmit successful).
6 years ago (2014-12-02 04:49:22 UTC) #9
Benedikt Meurer
6 years ago (2014-12-02 04:49:55 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/763963002/diff/120001/src/compiler/typer.cc
File src/compiler/typer.cc (right):

https://codereview.chromium.org/763963002/diff/120001/src/compiler/typer.cc#n...
src/compiler/typer.cc:72: signed8_ = Type::Range(f->NewNumber(-0x7F),
f->NewNumber(0x7F - 1), zone);
I don't know, just moved around the code...but I guess I can fix that with this
CL.

Powered by Google App Engine
This is Rietveld 408576698