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

Issue 396733006: Optimize the multiplication of two 32-bit unsigned integers. (Closed)

Created:
6 years, 5 months ago by regis
Modified:
6 years, 5 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Optimize the multiplication of two 32-bit unsigned integers. R=johnmccutchan@google.com, srdjan@google.com, vegorov@google.com Committed: https://code.google.com/p/dart/source/detail?r=38400

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 13

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 5

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -56 lines) Patch
M runtime/vm/flow_graph_optimizer.cc View 1 2 3 4 3 chunks +2 lines, -17 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 2 3 4 5 chunks +30 lines, -13 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 2 3 4 6 chunks +52 lines, -25 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
regis
6 years, 5 months ago (2014-07-16 00:21:37 UTC) #1
sra1
https://codereview.chromium.org/396733006/diff/1/runtime/vm/intermediate_language_ia32.cc File runtime/vm/intermediate_language_ia32.cc (right): https://codereview.chromium.org/396733006/diff/1/runtime/vm/intermediate_language_ia32.cc#newcode5937 runtime/vm/intermediate_language_ia32.cc:5937: __ shrl(right_hi, Immediate(30)); Maybe I misunderstand, but... Why test ...
6 years, 5 months ago (2014-07-16 00:58:27 UTC) #2
regis
https://codereview.chromium.org/396733006/diff/1/runtime/vm/intermediate_language_ia32.cc File runtime/vm/intermediate_language_ia32.cc (right): https://codereview.chromium.org/396733006/diff/1/runtime/vm/intermediate_language_ia32.cc#newcode5937 runtime/vm/intermediate_language_ia32.cc:5937: __ shrl(right_hi, Immediate(30)); On 2014/07/16 00:58:27, sra1 wrote: > ...
6 years, 5 months ago (2014-07-16 02:23:22 UTC) #3
srdjan
LGTM with comments https://codereview.chromium.org/396733006/diff/20001/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/396733006/diff/20001/runtime/vm/flow_graph_optimizer.cc#newcode2041 runtime/vm/flow_graph_optimizer.cc:2041: HasOnlyTwoOf(ic_data, kInt32x4Cid)) { How do you ...
6 years, 5 months ago (2014-07-16 16:55:23 UTC) #4
Cutch
The Uint32 work isn't complete. Will discuss offline. https://codereview.chromium.org/396733006/diff/20001/runtime/vm/intermediate_language_arm.cc File runtime/vm/intermediate_language_arm.cc (right): https://codereview.chromium.org/396733006/diff/20001/runtime/vm/intermediate_language_arm.cc#newcode6356 runtime/vm/intermediate_language_arm.cc:6356: __ ...
6 years, 5 months ago (2014-07-16 18:09:48 UTC) #5
Cutch
LGTM after removing overflow check in BinaryUint32Op.
6 years, 5 months ago (2014-07-16 18:20:38 UTC) #6
Vyacheslav Egorov (Google)
not lgtm lets not add optimistic special cases that have no disabling mechanism and that ...
6 years, 5 months ago (2014-07-16 19:51:22 UTC) #7
regis
Thanks all. PTAL https://codereview.chromium.org/396733006/diff/20001/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/396733006/diff/20001/runtime/vm/flow_graph_optimizer.cc#newcode2041 runtime/vm/flow_graph_optimizer.cc:2041: HasOnlyTwoOf(ic_data, kInt32x4Cid)) { On 2014/07/16 16:55:23, ...
6 years, 5 months ago (2014-07-16 23:12:42 UTC) #8
Vyacheslav Egorov (Google)
LGTM to unblock you. Please fix ARM before landing and revert changes related to range ...
6 years, 5 months ago (2014-07-16 23:51:35 UTC) #9
regis
On 2014/07/16 23:51:35, Vyacheslav Egorov (Google wrote: > LGTM to unblock you. > > Please ...
6 years, 5 months ago (2014-07-18 02:44:30 UTC) #10
regis
https://codereview.chromium.org/396733006/diff/20001/runtime/vm/intermediate_language_arm.cc File runtime/vm/intermediate_language_arm.cc (right): https://codereview.chromium.org/396733006/diff/20001/runtime/vm/intermediate_language_arm.cc#newcode6142 runtime/vm/intermediate_language_arm.cc:6142: __ smull(out_lo, out_hi, left_lo, right_lo); On 2014/07/16 23:51:35, Vyacheslav ...
6 years, 5 months ago (2014-07-18 02:44:57 UTC) #11
Vyacheslav Egorov (Google)
LGTM https://codereview.chromium.org/396733006/diff/20001/runtime/vm/intermediate_language_arm.cc File runtime/vm/intermediate_language_arm.cc (right): https://codereview.chromium.org/396733006/diff/20001/runtime/vm/intermediate_language_arm.cc#newcode6142 runtime/vm/intermediate_language_arm.cc:6142: __ smull(out_lo, out_hi, left_lo, right_lo); > I agree ...
6 years, 5 months ago (2014-07-18 11:15:35 UTC) #12
srdjan
https://codereview.chromium.org/396733006/diff/60001/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/396733006/diff/60001/runtime/vm/flow_graph_optimizer.cc#newcode2041 runtime/vm/flow_graph_optimizer.cc:2041: ASSERT(op_kind != Token::kMUL); Why can this be guaranteed?
6 years, 5 months ago (2014-07-18 16:32:54 UTC) #13
Cutch
lgtm https://codereview.chromium.org/396733006/diff/60001/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/396733006/diff/60001/runtime/vm/flow_graph_optimizer.cc#newcode2041 runtime/vm/flow_graph_optimizer.cc:2041: ASSERT(op_kind != Token::kMUL); On 2014/07/18 16:32:54, srdjan wrote: ...
6 years, 5 months ago (2014-07-18 16:39:39 UTC) #14
regis
Thanks! https://codereview.chromium.org/396733006/diff/60001/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/396733006/diff/60001/runtime/vm/flow_graph_optimizer.cc#newcode2041 runtime/vm/flow_graph_optimizer.cc:2041: ASSERT(op_kind != Token::kMUL); On 2014/07/18 16:39:39, Cutch wrote: ...
6 years, 5 months ago (2014-07-18 17:59:43 UTC) #15
regis
6 years, 5 months ago (2014-07-18 18:00:02 UTC) #16
Message was sent while issue was closed.
Committed patchset #5 manually as r38400 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698