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

Issue 1756863002: [wasm] Int64Lowering of I64Shl on ia32. (Closed)

Created:
4 years, 9 months ago by ahaas
Modified:
4 years, 9 months ago
Reviewers:
titzer
CC:
v8-mips-ports_googlegroups.com, v8-ppc-ports_googlegroups.com, v8-reviews_googlegroups.com, v8-x87-ports_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 I64Shl on ia32. I64Shl is lowered to a new turbofan operator, WasmWord64Shl. The new operator takes 3 inputs, the low-word input, the high-word input, and the shift, and produces 2 output, the low-word output and the high-word output. At the moment I implemented the lowering only for ia32, but I think the CL is already big enough. I will add the other platforms in separate CLs. R=titzer@chromium.org Committed: https://crrev.com/ddc626e1cf365261fa38cd3b91cbaf8b5e0444b9 Cr-Commit-Position: refs/heads/master@{#34546}

Patch Set 1 #

Patch Set 2 : I forgot to remove some debug code. #

Total comments: 6

Patch Set 3 : Comments done. #

Patch Set 4 : more renaming #

Patch Set 5 : rebase #

Patch Set 6 : Forgot to turn off the test for arm. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+254 lines, -30 lines) Patch
M src/compiler/arm/instruction-selector-arm.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/ia32/code-generator-ia32.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M src/compiler/ia32/instruction-codes-ia32.h View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M src/compiler/ia32/instruction-scheduler-ia32.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/ia32/instruction-selector-ia32.cc View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
M src/compiler/instruction-selector.cc View 1 2 3 4 3 chunks +9 lines, -0 lines 0 comments Download
M src/compiler/int64-lowering.cc View 1 2 1 chunk +22 lines, -0 lines 0 comments Download
M src/compiler/machine-operator.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/machine-operator.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler/mips/instruction-selector-mips.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/opcodes.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler/raw-machine-assembler.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/typer.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/verifier.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 3 2 chunks +6 lines, -6 lines 0 comments Download
M src/compiler/x87/instruction-selector-x87.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/ia32/assembler-ia32.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/ia32/assembler-ia32.cc View 1 1 chunk +10 lines, -2 lines 0 comments Download
M src/ia32/disasm-ia32.cc View 1 2 chunks +36 lines, -13 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 2 3 2 chunks +21 lines, -1 line 0 comments Download
M test/cctest/test-disasm-ia32.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-64.cc View 1 2 3 4 5 1 chunk +33 lines, -0 lines 0 comments Download
M test/unittests/compiler/int64-lowering-unittest.cc View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
M test/unittests/compiler/node-test-utils.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M test/unittests/compiler/node-test-utils.cc View 1 2 3 chunks +45 lines, -1 line 0 comments Download

Messages

Total messages: 10 (3 generated)
ahaas
4 years, 9 months ago (2016-03-02 15:33:24 UTC) #1
ahaas
On 2016/03/02 at 15:33:24, ahaas wrote: > I removed some debug code.
4 years, 9 months ago (2016-03-02 15:43:13 UTC) #2
titzer
lgtm other than naming changes https://codereview.chromium.org/1756863002/diff/20001/src/compiler/instruction-selector.cc File src/compiler/instruction-selector.cc (right): https://codereview.chromium.org/1756863002/diff/20001/src/compiler/instruction-selector.cc#newcode1151 src/compiler/instruction-selector.cc:1151: return MarkAsWord32(node), VisitWasmWord64Shl(node); I ...
4 years, 9 months ago (2016-03-02 22:32:53 UTC) #3
ahaas
https://codereview.chromium.org/1756863002/diff/20001/src/compiler/instruction-selector.cc File src/compiler/instruction-selector.cc (right): https://codereview.chromium.org/1756863002/diff/20001/src/compiler/instruction-selector.cc#newcode1151 src/compiler/instruction-selector.cc:1151: return MarkAsWord32(node), VisitWasmWord64Shl(node); On 2016/03/02 at 22:32:53, titzer wrote: ...
4 years, 9 months ago (2016-03-04 10:21:11 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1756863002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1756863002/100001
4 years, 9 months ago (2016-03-07 15:15:38 UTC) #7
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 9 months ago (2016-03-07 15:17:59 UTC) #8
commit-bot: I haz the power
4 years, 9 months ago (2016-03-07 15:19:48 UTC) #10
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/ddc626e1cf365261fa38cd3b91cbaf8b5e0444b9
Cr-Commit-Position: refs/heads/master@{#34546}

Powered by Google App Engine
This is Rietveld 408576698