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

Issue 79653002: Merge TRUNCDIV and MOD into one instruction. Icorporated feedback from CL https://codereview.chromi… (Closed)

Created:
7 years, 1 month ago by srdjan
Modified:
7 years, 1 month ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Merge TRUNCDIV and MOD into one instruction. Icorporated feedback from CL https://codereview.chromium.org/68663003 R=fschneider@google.com Committed: https://code.google.com/p/dart/source/detail?r=30536

Patch Set 1 #

Total comments: 11

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+667 lines, -16 lines) Patch
M runtime/vm/compiler.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_inliner.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 4 chunks +102 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 1 1 chunk +9 lines, -0 lines 0 comments Download
M runtime/vm/il_printer.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 3 chunks +104 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 1 chunk +16 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 1 chunk +83 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 1 chunk +91 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 1 1 chunk +76 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 1 chunk +117 lines, -0 lines 0 comments Download
M tests/language/arithmetic_test.dart View 1 2 chunks +10 lines, -0 lines 0 comments Download
M tests/language/modulo_test.dart View 1 1 chunk +43 lines, -12 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
srdjan
https://codereview.chromium.org/79653002/diff/1/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/79653002/diff/1/runtime/vm/flow_graph_optimizer.cc#newcode6925 runtime/vm/flow_graph_optimizer.cc:6925: // TODO(kmillikin): Handle conversion. Just standard boiler-plate :-).
7 years, 1 month ago (2013-11-20 22:23:27 UTC) #1
Florian Schneider
LGTM with comments. https://codereview.chromium.org/79653002/diff/1/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/79653002/diff/1/runtime/vm/flow_graph_optimizer.cc#newcode311 runtime/vm/flow_graph_optimizer.cc:311: BinarySmiOpInstr* other_binop = (*merge_candidates)[k]; Can ohter_binop ...
7 years, 1 month ago (2013-11-21 11:15:41 UTC) #2
srdjan
Ideally this optimization should happen after canonicalization. I will try this in the following CL. ...
7 years, 1 month ago (2013-11-21 17:32:43 UTC) #3
srdjan
7 years, 1 month ago (2013-11-21 17:57:07 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r30536 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698