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

Issue 11344011: Relational comparisons for unboxed mints. (Closed)

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

Description

Relational comparisons for unboxed mints. Committed: https://code.google.com/p/dart/source/detail?r=14343

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fixed comparison code and added more tests #

Patch Set 3 : optimized one cmpl away #

Patch Set 4 : Eliminated memory operations #

Patch Set 5 : better test coverage #

Total comments: 4

Patch Set 6 : addressed Srdjan's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -31 lines) Patch
M runtime/vm/flow_graph_optimizer.cc View 1 2 3 4 5 2 chunks +29 lines, -25 lines 0 comments Download
M runtime/vm/intermediate_language.h View 2 chunks +5 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 2 3 6 chunks +91 lines, -3 lines 0 comments Download
M tests/language/mint_compares.dart View 1 2 3 4 2 chunks +38 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Florian Schneider
8 years, 1 month ago (2012-10-29 09:57:27 UTC) #1
Florian Schneider
Added vegorov@ as reviewer.
8 years, 1 month ago (2012-10-29 12:11:44 UTC) #2
Vyacheslav Egorov (Google)
lgtm https://codereview.chromium.org/11344011/diff/1/runtime/vm/intermediate_language_ia32.cc File runtime/vm/intermediate_language_ia32.cc (right): https://codereview.chromium.org/11344011/diff/1/runtime/vm/intermediate_language_ia32.cc#newcode707 runtime/vm/intermediate_language_ia32.cc:707: __ cmpl(lo, Address(ESP, 0 * kWordSize)); can you ...
8 years, 1 month ago (2012-10-29 12:46:40 UTC) #3
Vyacheslav Egorov (Google)
I retract LGTM. There are issues with signed comparison here.
8 years, 1 month ago (2012-10-29 12:49:10 UTC) #4
Florian Schneider
Right, I have to do a subtract-with-carry instead. On 2012/10/29 12:49:10, Vyacheslav Egorov (Google) wrote: ...
8 years, 1 month ago (2012-10-29 13:07:32 UTC) #5
Florian Schneider
New version uploaded. Please have another look.
8 years, 1 month ago (2012-10-29 15:32:38 UTC) #6
srdjan
https://codereview.chromium.org/11344011/diff/18001/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/11344011/diff/18001/runtime/vm/flow_graph_optimizer.cc#newcode1278 runtime/vm/flow_graph_optimizer.cc:1278: comp->set_operands_class_id(kNumberCid); What do we need the kNumberCid-s for (here ...
8 years, 1 month ago (2012-10-29 19:30:25 UTC) #7
Florian Schneider
https://codereview.chromium.org/11344011/diff/18001/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/11344011/diff/18001/runtime/vm/flow_graph_optimizer.cc#newcode1278 runtime/vm/flow_graph_optimizer.cc:1278: comp->set_operands_class_id(kNumberCid); On 2012/10/29 19:30:25, srdjan wrote: > What do ...
8 years, 1 month ago (2012-10-30 12:09:03 UTC) #8
Florian Schneider
any further comments? Otherwise I'll land this now.
8 years, 1 month ago (2012-10-31 12:23:08 UTC) #9
srdjan
8 years, 1 month ago (2012-10-31 14:39:22 UTC) #10
LGTM

Powered by Google App Engine
This is Rietveld 408576698