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

Issue 19792007: Recognize Math's min and max function for doubles and inline the operation. (Closed)

Created:
7 years, 5 months ago by srdjan
Modified:
7 years, 5 months ago
CC:
reviews_dartlang.org, floitsch
Visibility:
Public.

Description

Recognize Math's min and max function for doubles and inline the operation. R=regis@google.com, zra@google.com Committed: https://code.google.com/p/dart/source/detail?r=25287

Patch Set 1 #

Patch Set 2 : #

Total comments: 13

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+353 lines, -4 lines) Patch
M runtime/vm/flow_graph_optimizer.cc View 1 2 2 chunks +47 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 3 chunks +65 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 2 3 2 chunks +52 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 2 2 chunks +50 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 1 2 3 2 chunks +51 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 2 2 chunks +53 lines, -1 line 0 comments Download
M runtime/vm/object.cc View 1 2 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
srdjan
Should give 10% speedup on Box2D.
7 years, 5 months ago (2013-07-19 23:17:51 UTC) #1
zra
lgtm With a couple suggestions for shorter sequences on arm and mips. https://codereview.chromium.org/19792007/diff/7001/runtime/vm/intermediate_language_arm.cc File runtime/vm/intermediate_language_arm.cc ...
7 years, 5 months ago (2013-07-22 16:21:02 UTC) #2
regis
LGTM https://codereview.chromium.org/19792007/diff/7001/runtime/vm/intermediate_language_arm.cc File runtime/vm/intermediate_language_arm.cc (right): https://codereview.chromium.org/19792007/diff/7001/runtime/vm/intermediate_language_arm.cc#newcode3389 runtime/vm/intermediate_language_arm.cc:3389: __ vmovd(result, left); You could make both vmovd ...
7 years, 5 months ago (2013-07-22 16:22:03 UTC) #3
srdjan
Thanks. Will submit this, although there is a bug (-0.0 is equal to 0.0 according ...
7 years, 5 months ago (2013-07-22 16:42:48 UTC) #4
srdjan
https://codereview.chromium.org/19792007/diff/7001/runtime/vm/intermediate_language_mips.cc File runtime/vm/intermediate_language_mips.cc (right): https://codereview.chromium.org/19792007/diff/7001/runtime/vm/intermediate_language_mips.cc#newcode3130 runtime/vm/intermediate_language_mips.cc:3130: __ ldc1(result, Address(temp, 0)); On 2013/07/22 16:42:48, srdjan wrote: ...
7 years, 5 months ago (2013-07-22 17:07:56 UTC) #5
srdjan
On 2013/07/22 17:07:56, srdjan wrote: > https://codereview.chromium.org/19792007/diff/7001/runtime/vm/intermediate_language_mips.cc > File runtime/vm/intermediate_language_mips.cc (right): > > https://codereview.chromium.org/19792007/diff/7001/runtime/vm/intermediate_language_mips.cc#newcode3130 > ...
7 years, 5 months ago (2013-07-22 17:09:45 UTC) #6
srdjan
7 years, 5 months ago (2013-07-22 17:27:55 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 manually as r25287 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698