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

Issue 2731713002: [wasm] Fix interpreter entry for i64 return type (Closed)

Created:
3 years, 9 months ago by Clemens Hammacher
Modified:
3 years, 9 months ago
Reviewers:
titzer
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Fix interpreter entry for i64 return type Fix two issues in the interpreter entry for 64 bit return values on 32 bit platforms. First, the effect chain was slightly incorrect, second the order of the returned values was wrong. Also add a test case for this. Tested on x64, ia32 and s390. Plus drive-by fix in Int64Lowering to reuse global constants for big-endian/little-endian disambiguation. R=titzer@chromium.org BUG=v8:5822 Review-Url: https://codereview.chromium.org/2731713002 Cr-Commit-Position: refs/heads/master@{#43654} Committed: https://chromium.googlesource.com/v8/v8/+/6cf8f54d900c0f0cb940bfd272539b6876df35bd

Patch Set 1 #

Total comments: 5

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -49 lines) Patch
M src/compiler/int64-lowering.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M src/compiler/int64-lowering.cc View 1 7 chunks +29 lines, -23 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 chunks +14 lines, -17 lines 0 comments Download
M test/cctest/wasm/test-wasm-interpreter-entry.cc View 5 chunks +29 lines, -3 lines 0 comments Download
M test/unittests/compiler/int64-lowering-unittest.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
Clemens Hammacher
3 years, 9 months ago (2017-03-03 13:53:13 UTC) #6
Clemens Hammacher
Ping or should I add ahaas@?
3 years, 9 months ago (2017-03-07 10:07:06 UTC) #7
titzer
lgtm with nits https://codereview.chromium.org/2731713002/diff/1/src/compiler/wasm-compiler.cc File src/compiler/wasm-compiler.cc (right): https://codereview.chromium.org/2731713002/diff/1/src/compiler/wasm-compiler.cc#newcode2976 src/compiler/wasm-compiler.cc:2976: auto is_i64_as_two_params = [&](wasm::ValueType t) { ...
3 years, 9 months ago (2017-03-07 10:21:55 UTC) #8
Clemens Hammacher
https://codereview.chromium.org/2731713002/diff/1/src/compiler/wasm-compiler.cc File src/compiler/wasm-compiler.cc (right): https://codereview.chromium.org/2731713002/diff/1/src/compiler/wasm-compiler.cc#newcode2976 src/compiler/wasm-compiler.cc:2976: auto is_i64_as_two_params = [&](wasm::ValueType t) { On 2017/03/07 at ...
3 years, 9 months ago (2017-03-07 10:30:03 UTC) #9
titzer
https://codereview.chromium.org/2731713002/diff/1/src/compiler/wasm-compiler.cc File src/compiler/wasm-compiler.cc (right): https://codereview.chromium.org/2731713002/diff/1/src/compiler/wasm-compiler.cc#newcode2976 src/compiler/wasm-compiler.cc:2976: auto is_i64_as_two_params = [&](wasm::ValueType t) { On 2017/03/07 10:30:03, ...
3 years, 9 months ago (2017-03-07 11:51:52 UTC) #10
Clemens Hammacher
On 2017/03/07 at 11:51:52, titzer wrote: > https://codereview.chromium.org/2731713002/diff/1/src/compiler/wasm-compiler.cc > File src/compiler/wasm-compiler.cc (right): > > https://codereview.chromium.org/2731713002/diff/1/src/compiler/wasm-compiler.cc#newcode2976 ...
3 years, 9 months ago (2017-03-07 12:21:33 UTC) #14
titzer
lgtm
3 years, 9 months ago (2017-03-07 15:12:19 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2731713002/20001
3 years, 9 months ago (2017-03-07 18:00:14 UTC) #19
commit-bot: I haz the power
3 years, 9 months ago (2017-03-07 18:03:17 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/6cf8f54d900c0f0cb940bfd272539b6876d...

Powered by Google App Engine
This is Rietveld 408576698