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

Issue 1804513002: [wasm] Int64Lowering of I64Div and I64Rem. (Closed)

Created:
4 years, 9 months ago by ahaas
Modified:
4 years, 9 months ago
Reviewers:
titzer, Yang
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] Int64Lowering of I64Div and I64Rem. On 32-bit systems these instructions are compiled to calls to C functions. The TF node for the function call is already generated in the wasm compiler, the lowering of the I64 parameters is done in the Int64Lowering. We use the return value of the C function to determine whether the calculation should trap or not. R=titzer@chromium.org Committed: https://crrev.com/29e0e8e9e3eb7713ab932b155893e78a00dec671 Cr-Commit-Position: refs/heads/master@{#34768}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixed nits. #

Patch Set 3 : rebase #

Patch Set 4 : Rebase. #

Patch Set 5 : Removed wrong dependency #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+433 lines, -120 lines) Patch
M src/assembler.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/assembler.cc View 1 chunk +20 lines, -0 lines 0 comments Download
M src/compiler/wasm-compiler.h View 1 chunk +7 lines, -0 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 3 3 chunks +110 lines, -38 lines 0 comments Download
M src/snapshot/serializer-common.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/wasm/wasm-external-refs.h View 1 chunk +35 lines, -0 lines 0 comments Download
M test/cctest/compiler/test-run-calls-to-external-references.cc View 1 chunk +102 lines, -0 lines 0 comments Download
M test/cctest/wasm/test-run-wasm.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/cctest/wasm/test-run-wasm-64.cc View 1 2 3 4 5 4 chunks +149 lines, -81 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
ahaas
4 years, 9 months ago (2016-03-14 10:55:39 UTC) #1
Yang
On 2016/03/14 10:55:39, ahaas wrote: src/snapshot lgtm.
4 years, 9 months ago (2016-03-14 10:56:10 UTC) #2
titzer
lgtm https://codereview.chromium.org/1804513002/diff/1/src/compiler/wasm-compiler.cc File src/compiler/wasm-compiler.cc (right): https://codereview.chromium.org/1804513002/diff/1/src/compiler/wasm-compiler.cc#newcode1750 src/compiler/wasm-compiler.cc:1750: trap_->ZeroCheck64(kTrapDivByZero, right); Style nit: leave the else clause ...
4 years, 9 months ago (2016-03-14 11:03:22 UTC) #3
ahaas
https://codereview.chromium.org/1804513002/diff/1/src/compiler/wasm-compiler.cc File src/compiler/wasm-compiler.cc (right): https://codereview.chromium.org/1804513002/diff/1/src/compiler/wasm-compiler.cc#newcode1750 src/compiler/wasm-compiler.cc:1750: trap_->ZeroCheck64(kTrapDivByZero, right); On 2016/03/14 at 11:03:22, titzer wrote: > ...
4 years, 9 months ago (2016-03-14 12:38:12 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1804513002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1804513002/100001
4 years, 9 months ago (2016-03-15 06:31:38 UTC) #8
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 9 months ago (2016-03-15 06:52:04 UTC) #9
commit-bot: I haz the power
4 years, 9 months ago (2016-03-15 06:53:00 UTC) #11
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/29e0e8e9e3eb7713ab932b155893e78a00dec671
Cr-Commit-Position: refs/heads/master@{#34768}

Powered by Google App Engine
This is Rietveld 408576698