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

Issue 2053213004: DBC: Adds BinarySmiOp instruction (Closed)

Created:
4 years, 6 months ago by zra
Modified:
4 years, 6 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rm unchecked ops. Fix arm64 inline asm bug. Add tests. #

Total comments: 4

Patch Set 3 : Address comments, fix bugs #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+610 lines, -28 lines) Patch
M runtime/lib/integers.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/assembler_dbc_test.cc View 1 2 chunks +358 lines, -0 lines 0 comments Download
M runtime/vm/constants_dbc.h View 1 2 4 chunks +28 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler_dbc.cc View 1 2 1 chunk +3 lines, -5 lines 1 comment Download
M runtime/vm/intermediate_language.cc View 1 2 3 chunks +28 lines, -15 lines 0 comments Download
M runtime/vm/intermediate_language_dbc.cc View 1 2 3 chunks +69 lines, -3 lines 1 comment Download
M runtime/vm/simulator_dbc.cc View 1 6 chunks +121 lines, -2 lines 0 comments Download
M tests/co19/co19-runtime.status View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
zra
Took a stab at this. When the structure is nailed down, I'll add docs and ...
4 years, 6 months ago (2016-06-10 21:57:08 UTC) #2
Vyacheslav Egorov (Google)
https://codereview.chromium.org/2053213004/diff/1/runtime/vm/constants_dbc.h File runtime/vm/constants_dbc.h (right): https://codereview.chromium.org/2053213004/diff/1/runtime/vm/constants_dbc.h#newcode426 runtime/vm/constants_dbc.h:426: V(AddChecked, A_B_C, reg, reg, reg) \ an interesting question ...
4 years, 6 months ago (2016-06-11 08:09:47 UTC) #3
zra
PTAL https://codereview.chromium.org/2053213004/diff/1/runtime/vm/constants_dbc.h File runtime/vm/constants_dbc.h (right): https://codereview.chromium.org/2053213004/diff/1/runtime/vm/constants_dbc.h#newcode426 runtime/vm/constants_dbc.h:426: V(AddChecked, A_B_C, reg, reg, reg) \ On 2016/06/11 ...
4 years, 6 months ago (2016-06-13 21:11:24 UTC) #4
zra
ping
4 years, 6 months ago (2016-06-15 06:20:46 UTC) #5
Vyacheslav Egorov (Google)
lgtm https://codereview.chromium.org/2053213004/diff/20001/runtime/vm/constants_dbc.h File runtime/vm/constants_dbc.h (right): https://codereview.chromium.org/2053213004/diff/20001/runtime/vm/constants_dbc.h#newcode166 runtime/vm/constants_dbc.h:166: // If these instructions can trigger a deoptimization, ...
4 years, 6 months ago (2016-06-15 06:44:51 UTC) #6
zra
I hit some bugs, primarily with AssertAssignableInstr, and included fixes in this CL. https://codereview.chromium.org/2053213004/diff/20001/runtime/vm/constants_dbc.h File ...
4 years, 6 months ago (2016-06-15 21:47:37 UTC) #7
zra
Committed patchset #3 (id:40001) manually as b3e5c5eeed62bf59740ef9a65175da650f3942f9 (presubmit successful).
4 years, 6 months ago (2016-06-15 21:48:17 UTC) #9
Vyacheslav Egorov (Google)
4 years, 6 months ago (2016-06-16 08:31:53 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/2053213004/diff/40001/runtime/vm/flow_graph_c...
File runtime/vm/flow_graph_compiler_dbc.cc (right):

https://codereview.chromium.org/2053213004/diff/40001/runtime/vm/flow_graph_c...
runtime/vm/flow_graph_compiler_dbc.cc:242: __ PopLocal(locs->out(0).reg());
I don't get this comment. GC can't have anything to do with this reload because
all live registers must be scanned. If in(0) is not scanned - it's a bug in
stack maps and it needs to be fixed.

https://codereview.chromium.org/2053213004/diff/40001/runtime/vm/intermediate...
File runtime/vm/intermediate_language_dbc.cc (right):

https://codereview.chromium.org/2053213004/diff/40001/runtime/vm/intermediate...
runtime/vm/intermediate_language_dbc.cc:918: __ Push(locs()->in(0).reg());
CheckClassId should also probably be a single instructions like CheckSmi

Powered by Google App Engine
This is Rietveld 408576698