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

Issue 1807273002: [wasm] Int64Lowering of Int64Mul on ia32 and arm. (Closed)

Created:
4 years, 9 months ago by ahaas
Modified:
4 years, 8 months ago
Reviewers:
titzer, martyn.capewell, v8-arm-ports
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@wasm-phi
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Int64Lowering of Int64Mul on ia32 and arm. Int64Mul is lowered to a new turbofan operator, Int32MulPair. The new operator takes 4 inputs an generates 2 outputs. The inputs are the low word of the left input, high word of the left input, the low word of the right input, and high word of the right input. The ouputs are the low and high word of the result of the multiplication. R=titzer@chromium.org, v8-arm-ports@googlegroups.com Committed: https://crrev.com/40bdbef975779e41a7e81d3748342dd7da52977f Cr-Commit-Position: refs/heads/master@{#35131}

Patch Set 1 #

Patch Set 2 : Forgot to add the visit functions on mips, ppc, and x87. #

Total comments: 3

Patch Set 3 : Generate better code for arm. #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -4 lines) Patch
M src/compiler/arm/code-generator-arm.cc View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M src/compiler/arm/instruction-codes-arm.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/arm/instruction-scheduler-arm.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/arm/instruction-selector-arm.cc View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M src/compiler/ia32/code-generator-ia32.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M src/compiler/ia32/instruction-codes-ia32.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/ia32/instruction-scheduler-ia32.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/ia32/instruction-selector-ia32.cc View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
M src/compiler/instruction-selector.cc View 1 2 3 3 chunks +7 lines, -0 lines 0 comments Download
M src/compiler/int64-lowering.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/int64-lowering.cc View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download
M src/compiler/machine-operator.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/machine-operator.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/mips/instruction-selector-mips.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/opcodes.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/ppc/instruction-selector-ppc.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/raw-machine-assembler.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/typer.cc View 1 2 1 chunk +2 lines, -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 +3 lines, -3 lines 0 comments Download
M src/compiler/x87/instruction-selector-x87.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M test/cctest/compiler/test-run-machops.cc View 1 chunk +64 lines, -0 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-64.cc View 2 chunks +3 lines, -1 line 0 comments Download
M test/unittests/compiler/int64-lowering-unittest.cc View 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 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
ahaas
4 years, 9 months ago (2016-03-17 15:59:29 UTC) #1
martyn.capewell
https://codereview.chromium.org/1807273002/diff/20001/src/compiler/arm/code-generator-arm.cc File src/compiler/arm/code-generator-arm.cc (right): https://codereview.chromium.org/1807273002/diff/20001/src/compiler/arm/code-generator-arm.cc#newcode822 src/compiler/arm/code-generator-arm.cc:822: __ add(i.OutputRegister(1), i.OutputRegister(1), i.TempRegister(0)); I think if you use ...
4 years, 9 months ago (2016-03-17 18:20:29 UTC) #3
martyn.capewell
https://codereview.chromium.org/1807273002/diff/20001/src/compiler/arm/code-generator-arm.cc File src/compiler/arm/code-generator-arm.cc (right): https://codereview.chromium.org/1807273002/diff/20001/src/compiler/arm/code-generator-arm.cc#newcode822 src/compiler/arm/code-generator-arm.cc:822: __ add(i.OutputRegister(1), i.OutputRegister(1), i.TempRegister(0)); A bit more thought gives: ...
4 years, 9 months ago (2016-03-18 11:42:49 UTC) #4
titzer
lgtm
4 years, 8 months ago (2016-03-29 09:43:19 UTC) #5
ahaas
https://codereview.chromium.org/1807273002/diff/20001/src/compiler/arm/code-generator-arm.cc File src/compiler/arm/code-generator-arm.cc (right): https://codereview.chromium.org/1807273002/diff/20001/src/compiler/arm/code-generator-arm.cc#newcode822 src/compiler/arm/code-generator-arm.cc:822: __ add(i.OutputRegister(1), i.OutputRegister(1), i.TempRegister(0)); On 2016/03/18 at 11:42:49, martyn.capewell ...
4 years, 8 months ago (2016-03-29 11:11:50 UTC) #6
martyn.capewell
Cool. ARM parts lgtm.
4 years, 8 months ago (2016-03-29 17:56:51 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1807273002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1807273002/60001
4 years, 8 months ago (2016-03-30 10:37:25 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-03-30 10:39:16 UTC) #11
commit-bot: I haz the power
4 years, 8 months ago (2016-03-30 10:40:19 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/40bdbef975779e41a7e81d3748342dd7da52977f
Cr-Commit-Position: refs/heads/master@{#35131}

Powered by Google App Engine
This is Rietveld 408576698