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

Issue 1778493004: [wasm] Int64Lowering of Int64Add on ia32 and arm. (Closed)

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

Description

[wasm] Int64Lowering of Int64Add on ia32 and arm. Int64Add is lowered to a new turbofan operator, Int32AddPair. 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 addition. R=titzer@chromium.org, v8-arm-ports@googlegroups.com Committed: https://crrev.com/1b230799364b7a6fbff3b0ffaee38bc06e19504b Cr-Commit-Position: refs/heads/master@{#34747}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Different register allocation. #

Patch Set 3 : Fixed alias check #

Patch Set 4 : Forgot to do the renaming in the mips code. #

Patch Set 5 : Removed the use of the temp register on arm. #

Total comments: 4

Patch Set 6 : Fixed nits. #

Total comments: 1

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+282 lines, -27 lines) Patch
M src/compiler/arm/code-generator-arm.cc View 1 2 3 4 5 1 chunk +11 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 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download
M src/compiler/ia32/code-generator-ia32.cc View 1 2 3 4 5 1 chunk +25 lines, -0 lines 0 comments Download
M src/compiler/ia32/instruction-codes-ia32.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/ia32/instruction-scheduler-ia32.cc View 1 2 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 chunks +7 lines, -0 lines 0 comments Download
M src/compiler/int64-lowering.cc View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M src/compiler/machine-operator.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/machine-operator.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/mips/instruction-selector-mips.cc View 1 2 3 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 3 4 5 1 chunk +3 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 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M src/compiler/x87/instruction-selector-x87.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M src/ia32/disasm-ia32.cc View 1 2 1 chunk +12 lines, -23 lines 0 comments Download
M test/cctest/compiler/test-run-machops.cc View 1 1 chunk +68 lines, -0 lines 0 comments Download
M test/cctest/test-disasm-ia32.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-64.cc View 1 2 3 4 5 6 2 chunks +9 lines, -1 line 0 comments Download
M test/unittests/compiler/int64-lowering-unittest.cc View 1 2 1 chunk +15 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 2 chunks +54 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (4 generated)
ahaas
4 years, 9 months ago (2016-03-09 10:12:07 UTC) #1
jbramley
Other than these minor details, the ARM parts look good. Thanks, Jacob https://codereview.chromium.org/1778493004/diff/1/src/compiler/arm/code-generator-arm.cc File src/compiler/arm/code-generator-arm.cc ...
4 years, 9 months ago (2016-03-09 10:40:18 UTC) #3
ahaas
Jacob, PTAL. https://codereview.chromium.org/1778493004/diff/1/src/compiler/arm/code-generator-arm.cc File src/compiler/arm/code-generator-arm.cc (right): https://codereview.chromium.org/1778493004/diff/1/src/compiler/arm/code-generator-arm.cc#newcode791 src/compiler/arm/code-generator-arm.cc:791: Operand(i.InputRegister(3))); On 2016/03/09 at 10:40:17, jbramley wrote: ...
4 years, 9 months ago (2016-03-09 17:28:06 UTC) #4
jbramley
On 2016/03/09 17:28:06, ahaas wrote: > https://codereview.chromium.org/1778493004/diff/1/src/compiler/arm/instruction-selector-arm.cc > File src/compiler/arm/instruction-selector-arm.cc (right): > > https://codereview.chromium.org/1778493004/diff/1/src/compiler/arm/instruction-selector-arm.cc#newcode780 > ...
4 years, 9 months ago (2016-03-10 11:15:42 UTC) #5
ahaas
On 2016/03/10 at 11:15:42, jacob.bramley wrote: > On 2016/03/09 17:28:06, ahaas wrote: > > https://codereview.chromium.org/1778493004/diff/1/src/compiler/arm/instruction-selector-arm.cc ...
4 years, 9 months ago (2016-03-10 11:45:44 UTC) #6
jbramley
I just have some small nits, but otherwise the ARM parts look good to me. ...
4 years, 9 months ago (2016-03-11 09:17:05 UTC) #7
ahaas
https://codereview.chromium.org/1778493004/diff/80001/src/compiler/arm/instruction-selector-arm.cc File src/compiler/arm/instruction-selector-arm.cc (right): https://codereview.chromium.org/1778493004/diff/80001/src/compiler/arm/instruction-selector-arm.cc#newcode774 src/compiler/arm/instruction-selector-arm.cc:774: // register. On 2016/03/11 at 09:17:05, jbramley wrote: > ...
4 years, 9 months ago (2016-03-14 11:07:50 UTC) #8
titzer
lgtm other than test rebasing https://codereview.chromium.org/1778493004/diff/100001/test/cctest/wasm/test-run-wasm-64.cc File test/cctest/wasm/test-run-wasm-64.cc (right): https://codereview.chromium.org/1778493004/diff/100001/test/cctest/wasm/test-run-wasm-64.cc#newcode23 test/cctest/wasm/test-run-wasm-64.cc:23: TEST(Run_WasmI64Add) { You'll need ...
4 years, 9 months ago (2016-03-14 14:50:45 UTC) #9
ahaas
On 2016/03/14 at 14:50:45, titzer wrote: > lgtm other than test rebasing > > https://codereview.chromium.org/1778493004/diff/100001/test/cctest/wasm/test-run-wasm-64.cc ...
4 years, 9 months ago (2016-03-14 15:15:05 UTC) #10
ahaas
4 years, 9 months ago (2016-03-14 15:15:10 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1778493004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1778493004/120001
4 years, 9 months ago (2016-03-14 15:15:27 UTC) #14
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 9 months ago (2016-03-14 15:33:22 UTC) #15
commit-bot: I haz the power
4 years, 9 months ago (2016-03-14 15:34:29 UTC) #17
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/1b230799364b7a6fbff3b0ffaee38bc06e19504b
Cr-Commit-Position: refs/heads/master@{#34747}

Powered by Google App Engine
This is Rietveld 408576698