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

Issue 1819383002: MIPS: [wasm] Lowering of Int64Shl, Int64Shr, Int64Sar, Int64Add and Int64Sub. (Closed)

Created:
4 years, 9 months ago by Marija Antic
Modified:
4 years, 8 months ago
CC:
ahaas, 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

MIPS: [wasm] Lowering of Int64Shl, Int64Shr, Int64Sar, Int64Add and Int64Sub. Implementation of turbofan operators Word32PairShl, Word32PairShr, Word32PairSar, Int32AddPair and Int32SubPair for MIPS. Port of: https://codereview.chromium.org/1765973002/ https://codereview.chromium.org/1778893004/ https://codereview.chromium.org/1778493004/ https://codereview.chromium.org/1778893005/ https://codereview.chromium.org/1842013002/ Added tests for Word32PairShr and Word32PairSar in test-run-machops.cc. BUG= Committed: https://crrev.com/4b86e6e3219dcd58285e4cad144e3ec87b0ee701 Cr-Commit-Position: refs/heads/master@{#35307}

Patch Set 1 #

Patch Set 2 : Fix for arithmetic right shift #

Total comments: 11

Patch Set 3 : Move ShlPair, ShrPair and SarPair to macro-assembler-mips.cc #

Patch Set 4 : Fix typo #

Patch Set 5 : Rebase #

Total comments: 7

Patch Set 6 : Move Add/SubPair to MacroAsm and refactor instruction-selector-mips #

Patch Set 7 : Disable Int32MulPair tests for MIPS #

Patch Set 8 : Enable all lowering tests #

Total comments: 6

Patch Set 9 : Rebase #

Patch Set 10 : Refactor instruction selector for binary pair ops #

Patch Set 11 : Fix shift for shift values larger than 63 #

Patch Set 12 : Fix shift values larger than 63 according to changed tests #

Patch Set 13 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+430 lines, -17 lines) Patch
M src/compiler/mips/code-generator-mips.cc View 1 2 3 4 5 6 7 8 2 chunks +38 lines, -0 lines 0 comments Download
M src/compiler/mips/instruction-codes-mips.h View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -0 lines 0 comments Download
M src/compiler/mips/instruction-selector-mips.cc View 1 2 3 4 5 6 7 8 9 2 chunks +53 lines, -10 lines 0 comments Download
M src/mips/macro-assembler-mips.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +25 lines, -0 lines 0 comments Download
M src/mips/macro-assembler-mips.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +246 lines, -0 lines 0 comments Download
M test/cctest/compiler/test-run-machops.cc View 1 2 3 4 7 2 chunks +51 lines, -1 line 0 comments Download
M test/cctest/wasm/test-run-wasm-64.cc View 1 2 3 4 5 6 7 8 4 chunks +12 lines, -6 lines 0 comments Download

Messages

Total messages: 72 (29 generated)
Marija Antic
4 years, 9 months ago (2016-03-22 17:12:02 UTC) #3
balazs.kilvady
https://codereview.chromium.org/1819383002/diff/20001/src/compiler/mips/code-generator-mips.cc File src/compiler/mips/code-generator-mips.cc (right): https://codereview.chromium.org/1819383002/diff/20001/src/compiler/mips/code-generator-mips.cc#newcode844 src/compiler/mips/code-generator-mips.cc:844: __ li(kScratchReg, 0x20); Using Operand(32) in the above 2 ...
4 years, 9 months ago (2016-03-24 11:52:46 UTC) #4
akos.palfi.imgtec
Looks good, added my comments. https://codereview.chromium.org/1819383002/diff/20001/src/compiler/mips/code-generator-mips.cc File src/compiler/mips/code-generator-mips.cc (right): https://codereview.chromium.org/1819383002/diff/20001/src/compiler/mips/code-generator-mips.cc#newcode834 src/compiler/mips/code-generator-mips.cc:834: if (instr->InputAt(2)->IsRegister()) { Please ...
4 years, 9 months ago (2016-03-24 12:10:19 UTC) #6
Marija Antic
https://codereview.chromium.org/1819383002/diff/20001/src/compiler/mips/code-generator-mips.cc File src/compiler/mips/code-generator-mips.cc (right): https://codereview.chromium.org/1819383002/diff/20001/src/compiler/mips/code-generator-mips.cc#newcode834 src/compiler/mips/code-generator-mips.cc:834: if (instr->InputAt(2)->IsRegister()) { On 2016/03/24 12:10:19, akos.palfi.imgtec wrote: > ...
4 years, 9 months ago (2016-03-24 15:40:35 UTC) #7
balazs.kilvady
Looks good. Please put a '.' at the end of the 1st sentence in the ...
4 years, 9 months ago (2016-03-25 11:12:46 UTC) #8
Marija Antic
https://codereview.chromium.org/1819383002/diff/20001/src/compiler/mips/code-generator-mips.cc File src/compiler/mips/code-generator-mips.cc (right): https://codereview.chromium.org/1819383002/diff/20001/src/compiler/mips/code-generator-mips.cc#newcode1126 src/compiler/mips/code-generator-mips.cc:1126: // Check for lower word overflow Simple switching to ...
4 years, 9 months ago (2016-03-25 11:17:58 UTC) #9
Marija Antic
4 years, 9 months ago (2016-03-25 11:18:38 UTC) #11
Marija Antic
Fixed the typo in ShrPair, tests are passing.
4 years, 8 months ago (2016-03-30 07:28:42 UTC) #12
Marija Antic
Rebase
4 years, 8 months ago (2016-03-30 11:34:36 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1819383002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1819383002/80001
4 years, 8 months ago (2016-03-30 11:40:19 UTC) #15
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. CQ run can only be started ...
4 years, 8 months ago (2016-03-30 11:40:23 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1819383002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1819383002/80001
4 years, 8 months ago (2016-03-30 11:41:59 UTC) #20
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. CQ run can only be started ...
4 years, 8 months ago (2016-03-30 11:42:02 UTC) #22
akos.palfi.imgtec
LGTM
4 years, 8 months ago (2016-03-30 11:42:12 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1819383002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1819383002/80001
4 years, 8 months ago (2016-03-30 11:43:11 UTC) #25
balazs.kilvady
Still no dot at the end of the 1st sentence of the description. :) https://codereview.chromium.org/1819383002/diff/80001/src/compiler/mips/code-generator-mips.cc ...
4 years, 8 months ago (2016-03-30 11:52:53 UTC) #26
Marija Antic
On 2016/03/30 11:52:53, balazs.kilvady wrote: > Still no dot at the end of the 1st ...
4 years, 8 months ago (2016-03-30 11:56:06 UTC) #27
akos.palfi.imgtec
https://codereview.chromium.org/1819383002/diff/80001/src/compiler/mips/code-generator-mips.cc File src/compiler/mips/code-generator-mips.cc (right): https://codereview.chromium.org/1819383002/diff/80001/src/compiler/mips/code-generator-mips.cc#newcode952 src/compiler/mips/code-generator-mips.cc:952: // Check for lower word overflow On 2016/03/30 11:52:52, ...
4 years, 8 months ago (2016-03-30 12:00:34 UTC) #28
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-03-30 12:08:42 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1819383002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1819383002/80001
4 years, 8 months ago (2016-03-30 13:03:21 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/12997)
4 years, 8 months ago (2016-03-30 13:06:32 UTC) #34
Marija Antic
https://codereview.chromium.org/1819383002/diff/80001/src/compiler/mips/code-generator-mips.cc File src/compiler/mips/code-generator-mips.cc (right): https://codereview.chromium.org/1819383002/diff/80001/src/compiler/mips/code-generator-mips.cc#newcode952 src/compiler/mips/code-generator-mips.cc:952: // Check for lower word overflow Issue 283 is ...
4 years, 8 months ago (2016-03-30 13:16:20 UTC) #36
akos.palfi.imgtec
@Ben, @Andreas: Could you guys PTAL at the cctest modifications?
4 years, 8 months ago (2016-03-30 13:30:39 UTC) #38
ahaas
https://codereview.chromium.org/1819383002/diff/80001/src/compiler/mips/code-generator-mips.cc File src/compiler/mips/code-generator-mips.cc (right): https://codereview.chromium.org/1819383002/diff/80001/src/compiler/mips/code-generator-mips.cc#newcode967 src/compiler/mips/code-generator-mips.cc:967: __ Sltu(kScratchReg, i.InputRegister(0), i.OutputRegister(0)); I think this comparison is ...
4 years, 8 months ago (2016-03-30 13:32:47 UTC) #39
Marija Antic
https://codereview.chromium.org/1819383002/diff/80001/src/compiler/mips/code-generator-mips.cc File src/compiler/mips/code-generator-mips.cc (right): https://codereview.chromium.org/1819383002/diff/80001/src/compiler/mips/code-generator-mips.cc#newcode947 src/compiler/mips/code-generator-mips.cc:947: case kMipsAddPair: { On 2016/03/30 11:52:52, balazs.kilvady wrote: > ...
4 years, 8 months ago (2016-03-30 14:21:09 UTC) #41
Marija Antic
Refactored instruction-selector-mips.cc according to https://codereview.chromium.org/1842013002/
4 years, 8 months ago (2016-03-30 14:22:00 UTC) #42
Marija Antic
Enabling Int32MulPair tests also, as the operator is implemented by https://codereview.chromium.org/1848253002/
4 years, 8 months ago (2016-04-05 08:15:59 UTC) #43
titzer
lgtm
4 years, 8 months ago (2016-04-05 08:21:45 UTC) #44
balazs.kilvady
Looks very good, I added small nits. https://codereview.chromium.org/1819383002/diff/140001/src/compiler/mips/instruction-selector-mips.cc File src/compiler/mips/instruction-selector-mips.cc (right): https://codereview.chromium.org/1819383002/diff/140001/src/compiler/mips/instruction-selector-mips.cc#newcode426 src/compiler/mips/instruction-selector-mips.cc:426: } I ...
4 years, 8 months ago (2016-04-05 11:13:16 UTC) #45
Marija Antic
Rebase and address additional comments. https://codereview.chromium.org/1819383002/diff/140001/src/compiler/mips/instruction-selector-mips.cc File src/compiler/mips/instruction-selector-mips.cc (right): https://codereview.chromium.org/1819383002/diff/140001/src/compiler/mips/instruction-selector-mips.cc#newcode426 src/compiler/mips/instruction-selector-mips.cc:426: } On 2016/04/05 11:13:16, ...
4 years, 8 months ago (2016-04-05 12:28:35 UTC) #46
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1819383002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1819383002/180001
4 years, 8 months ago (2016-04-05 12:30:28 UTC) #48
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-05 12:51:31 UTC) #50
balazs.kilvady
LGTM
4 years, 8 months ago (2016-04-05 15:41:42 UTC) #51
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1819383002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1819383002/200001
4 years, 8 months ago (2016-04-06 12:56:41 UTC) #53
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1819383002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1819383002/220001
4 years, 8 months ago (2016-04-06 13:36:08 UTC) #55
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_rel_ng/builds/3881)
4 years, 8 months ago (2016-04-06 13:45:01 UTC) #57
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1819383002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1819383002/220001
4 years, 8 months ago (2016-04-06 13:52:45 UTC) #59
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_avx2_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel/builds/12593) v8_linux_arm64_rel on ...
4 years, 8 months ago (2016-04-06 13:54:39 UTC) #61
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1819383002/230001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1819383002/230001
4 years, 8 months ago (2016-04-06 14:12:20 UTC) #63
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-06 14:40:53 UTC) #65
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1819383002/230001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1819383002/230001
4 years, 8 months ago (2016-04-06 14:41:31 UTC) #68
commit-bot: I haz the power
Committed patchset #13 (id:230001)
4 years, 8 months ago (2016-04-06 14:43:37 UTC) #70
commit-bot: I haz the power
4 years, 8 months ago (2016-04-06 14:45:42 UTC) #72
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/4b86e6e3219dcd58285e4cad144e3ec87b0ee701
Cr-Commit-Position: refs/heads/master@{#35307}

Powered by Google App Engine
This is Rietveld 408576698