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

Issue 1729263002: [wasm] I added comparison operators to the Int64Lowering. (Closed)

Created:
4 years, 10 months ago by ahaas
Modified:
4 years, 10 months ago
Reviewers:
titzer
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] I added comparison operators to the Int64Lowering. Comparison operators are lowered using to a lexicographic ordering, e.g. (a,b) <= (c,d) <<>> (a < c) | (a == c) & (b <= d). R=titzer@chromium.org Committed: https://crrev.com/fab253109d36397e020f308356ce068f61cfc241 Cr-Commit-Position: refs/heads/master@{#34287}

Patch Set 1 #

Total comments: 4

Patch Set 2 : code cleanup #

Patch Set 3 : git rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -53 lines) Patch
M src/compiler/int64-lowering.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/int64-lowering.cc View 1 2 chunks +39 lines, -7 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 2 chunks +28 lines, -35 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-64.cc View 1 2 1 chunk +57 lines, -7 lines 0 comments Download
M test/unittests/compiler/int64-lowering-unittest.cc View 1 2 2 chunks +41 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
ahaas
4 years, 10 months ago (2016-02-24 11:56:46 UTC) #1
titzer
lgtm other than small comments below https://codereview.chromium.org/1729263002/diff/1/src/compiler/int64-lowering.h File src/compiler/int64-lowering.h (right): https://codereview.chromium.org/1729263002/diff/1/src/compiler/int64-lowering.h#newcode42 src/compiler/int64-lowering.h:42: void LowerComparisonToLexicographicComparison(Node* node, ...
4 years, 10 months ago (2016-02-24 17:41:35 UTC) #2
ahaas
https://codereview.chromium.org/1729263002/diff/1/src/compiler/int64-lowering.h File src/compiler/int64-lowering.h (right): https://codereview.chromium.org/1729263002/diff/1/src/compiler/int64-lowering.h#newcode42 src/compiler/int64-lowering.h:42: void LowerComparisonToLexicographicComparison(Node* node, On 2016/02/24 at 17:41:35, titzer wrote: ...
4 years, 10 months ago (2016-02-25 11:56:08 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1729263002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1729263002/40001
4 years, 10 months ago (2016-02-25 12:12:54 UTC) #6
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-25 12:14:39 UTC) #7
titzer
On 2016/02/25 11:56:08, ahaas wrote: > https://codereview.chromium.org/1729263002/diff/1/src/compiler/int64-lowering.h > File src/compiler/int64-lowering.h (right): > > https://codereview.chromium.org/1729263002/diff/1/src/compiler/int64-lowering.h#newcode42 > ...
4 years, 10 months ago (2016-02-25 12:15:42 UTC) #8
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/fab253109d36397e020f308356ce068f61cfc241 Cr-Commit-Position: refs/heads/master@{#34287}
4 years, 10 months ago (2016-02-25 12:16:03 UTC) #10
ahaas
On 2016/02/25 at 12:15:42, titzer wrote: > On 2016/02/25 11:56:08, ahaas wrote: > > https://codereview.chromium.org/1729263002/diff/1/src/compiler/int64-lowering.h ...
4 years, 10 months ago (2016-02-25 12:38:40 UTC) #11
titzer
4 years, 10 months ago (2016-02-25 14:56:29 UTC) #12
Message was sent while issue was closed.
On 2016/02/25 12:38:40, ahaas wrote:
> On 2016/02/25 at 12:15:42, titzer wrote:
> > On 2016/02/25 11:56:08, ahaas wrote:
> > >
>
https://codereview.chromium.org/1729263002/diff/1/src/compiler/int64-lowering.h
> > > File src/compiler/int64-lowering.h (right):
> > > 
> > >
>
https://codereview.chromium.org/1729263002/diff/1/src/compiler/int64-lowering...
> > > src/compiler/int64-lowering.h:42: void
> > > LowerComparisonToLexicographicComparison(Node* node,
> > > On 2016/02/24 at 17:41:35, titzer wrote:
> > > > This name is pretty long :)
> > > > 
> > > > LowerComparison should be enough I think.
> > > 
> > > Done.
> > > 
> > >
>
https://codereview.chromium.org/1729263002/diff/1/src/compiler/wasm-compiler.cc
> > > File src/compiler/wasm-compiler.cc (right):
> > > 
> > >
>
https://codereview.chromium.org/1729263002/diff/1/src/compiler/wasm-compiler....
> > > src/compiler/wasm-compiler.cc:515: // kExprI64LeS:
> > > On 2016/02/24 at 17:41:35, titzer wrote:
> > > > You can drop the comments from the cases.
> > > 
> > > I added these comments to avoid merge conflicts. I will remove them all
when
> I'm
> > > done with the Int64Lowering. Is it okay if I leave the comments before and
> after
> > > my change and only remove those comments within my changes?
> > 
> > NBD
> 
> What does NBD mean?

no big deal.

Powered by Google App Engine
This is Rietveld 408576698