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 2385393002: [wasm] Implement I32x4ReplaceLane, I32x4Add, I32x4Sub. (Closed)

Created:
4 years, 2 months ago by gdeepti
Modified:
4 years ago
Reviewers:
titzer, bbudge
CC:
v8-reviews_googlegroups.com, aseemgarg
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Implement I32x4ReplaceLane, I32x4Add, I32x4Sub. R=bbudge@chromium.org, titzer@chromium.org Committed: https://crrev.com/02c6b04179a632a3d7a493e60086e5f4c5f47f95 Cr-Commit-Position: refs/heads/master@{#41505}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Bill's review #

Total comments: 6

Patch Set 3 : Rebase #

Patch Set 4 : Rebase, review changes #

Patch Set 5 : Cleanup #

Total comments: 2

Patch Set 6 : Bill's review #

Total comments: 4

Patch Set 7 : Add lanes as compile time constants #

Total comments: 4

Patch Set 8 : Ben's review #

Patch Set 9 : Rename variable #

Patch Set 10 : Fix check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+244 lines, -61 lines) Patch
M src/compiler/common-operator.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M src/compiler/common-operator.cc View 1 2 3 4 5 6 7 8 9 1 chunk +37 lines, -0 lines 0 comments Download
M src/compiler/instruction-selector.cc View 1 2 3 4 5 6 7 8 2 chunks +14 lines, -0 lines 0 comments Download
M src/compiler/simd-scalar-lowering.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -8 lines 0 comments Download
M src/compiler/wasm-compiler.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -3 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 3 4 5 6 7 8 2 chunks +14 lines, -19 lines 0 comments Download
M src/compiler/x64/code-generator-x64.cc View 1 2 3 4 5 6 1 chunk +20 lines, -0 lines 0 comments Download
M src/compiler/x64/instruction-codes-x64.h View 1 2 3 4 5 6 1 chunk +4 lines, -1 line 0 comments Download
M src/compiler/x64/instruction-scheduler-x64.cc View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/x64/instruction-selector-x64.cc View 1 2 3 4 5 6 1 chunk +22 lines, -1 line 0 comments Download
M src/wasm/ast-decoder.cc View 1 2 3 4 5 6 7 2 chunks +7 lines, -6 lines 0 comments Download
M src/wasm/wasm-macro-gen.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -3 lines 0 comments Download
M src/wasm/wasm-opcodes.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -4 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-simd.cc View 1 2 3 4 5 2 chunks +104 lines, -16 lines 0 comments Download

Messages

Total messages: 47 (29 generated)
gdeepti
4 years, 2 months ago (2016-10-03 23:06:57 UTC) #3
bbudge
lgtm w/comment https://codereview.chromium.org/2385393002/diff/1/src/wasm/ast-decoder.cc File src/wasm/ast-decoder.cc (right): https://codereview.chromium.org/2385393002/diff/1/src/wasm/ast-decoder.cc#newcode1256 src/wasm/ast-decoder.cc:1256: error(pc_, pc_ + 2, "invalid extract lane ...
4 years, 2 months ago (2016-10-04 20:34:26 UTC) #6
titzer
https://codereview.chromium.org/2385393002/diff/20001/src/compiler/x64/instruction-selector-x64.cc File src/compiler/x64/instruction-selector-x64.cc (right): https://codereview.chromium.org/2385393002/diff/20001/src/compiler/x64/instruction-selector-x64.cc#newcode2283 src/compiler/x64/instruction-selector-x64.cc:2283: Emit(kX64Int32x4Sub, g.DefineAsRegister(node), As mentioned offline, these will have to ...
4 years, 2 months ago (2016-10-07 12:20:14 UTC) #7
gdeepti
Resurrecting this CL, rebased after ScalarLowering, removed additional move instructions. PTAL https://codereview.chromium.org/2385393002/diff/1/src/wasm/ast-decoder.cc File src/wasm/ast-decoder.cc (right): ...
4 years, 1 month ago (2016-11-22 01:15:20 UTC) #12
bbudge
A comment, otherwise still LGTM https://codereview.chromium.org/2385393002/diff/80001/test/cctest/wasm/test-run-wasm-simd.cc File test/cctest/wasm/test-run-wasm-simd.cc (right): https://codereview.chromium.org/2385393002/diff/80001/test/cctest/wasm/test-run-wasm-simd.cc#newcode31 test/cctest/wasm/test-run-wasm-simd.cc:31: WASM_RETURN1(WASM_ONE) This is my ...
4 years, 1 month ago (2016-11-22 18:06:42 UTC) #15
gdeepti
https://codereview.chromium.org/2385393002/diff/80001/test/cctest/wasm/test-run-wasm-simd.cc File test/cctest/wasm/test-run-wasm-simd.cc (right): https://codereview.chromium.org/2385393002/diff/80001/test/cctest/wasm/test-run-wasm-simd.cc#newcode31 test/cctest/wasm/test-run-wasm-simd.cc:31: WASM_RETURN1(WASM_ONE) On 2016/11/22 18:06:42, bbudge wrote: > This is ...
4 years, 1 month ago (2016-11-22 22:30:33 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2385393002/100001
4 years, 1 month ago (2016-11-22 22:30:50 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/29158)
4 years, 1 month ago (2016-11-22 22:35:10 UTC) #21
gdeepti
CC aseemgarg@ as it touches the same files as ScalarLowering CL.
4 years, 1 month ago (2016-11-22 23:27:54 UTC) #22
gdeepti
Ping. Ben, I was hoping you could take a look at this CL, need an ...
4 years ago (2016-11-28 06:16:28 UTC) #23
titzer
https://codereview.chromium.org/2385393002/diff/100001/src/compiler/x64/instruction-selector-x64.cc File src/compiler/x64/instruction-selector-x64.cc (right): https://codereview.chromium.org/2385393002/diff/100001/src/compiler/x64/instruction-selector-x64.cc#newcode2365 src/compiler/x64/instruction-selector-x64.cc:2365: g.UseRegister(node->InputAt(0)), g.UseImmediate(node->InputAt(1)), This is going to be brittle. You're ...
4 years ago (2016-11-28 09:28:37 UTC) #24
gdeepti
https://codereview.chromium.org/2385393002/diff/100001/src/compiler/x64/instruction-selector-x64.cc File src/compiler/x64/instruction-selector-x64.cc (right): https://codereview.chromium.org/2385393002/diff/100001/src/compiler/x64/instruction-selector-x64.cc#newcode2365 src/compiler/x64/instruction-selector-x64.cc:2365: g.UseRegister(node->InputAt(0)), g.UseImmediate(node->InputAt(1)), On 2016/11/28 09:28:37, titzer wrote: > This ...
4 years ago (2016-12-02 00:43:45 UTC) #29
gdeepti
Ping
4 years ago (2016-12-05 06:33:39 UTC) #30
titzer
lgtm with nits https://codereview.chromium.org/2385393002/diff/120001/src/compiler/common-operator.cc File src/compiler/common-operator.cc (right): https://codereview.chromium.org/2385393002/diff/120001/src/compiler/common-operator.cc#newcode1134 src/compiler/common-operator.cc:1134: const Operator* CommonOperatorBuilder::Int32x4ExtractLane(int32_t value) { Can ...
4 years ago (2016-12-05 09:40:08 UTC) #31
gdeepti
https://codereview.chromium.org/2385393002/diff/120001/src/compiler/common-operator.cc File src/compiler/common-operator.cc (right): https://codereview.chromium.org/2385393002/diff/120001/src/compiler/common-operator.cc#newcode1134 src/compiler/common-operator.cc:1134: const Operator* CommonOperatorBuilder::Int32x4ExtractLane(int32_t value) { On 2016/12/05 09:40:08, titzer ...
4 years ago (2016-12-06 01:10:08 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2385393002/180001
4 years ago (2016-12-06 01:10:37 UTC) #43
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years ago (2016-12-06 01:12:23 UTC) #45
commit-bot: I haz the power
4 years ago (2016-12-06 01:13:02 UTC) #47
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/02c6b04179a632a3d7a493e60086e5f4c5f47f95
Cr-Commit-Position: refs/heads/master@{#41505}

Powered by Google App Engine
This is Rietveld 408576698