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

Issue 2719953002: Add Int32x4 Wasm Simd Binops, compare ops, select (Closed)

Created:
3 years, 9 months ago by gdeepti
Modified:
3 years, 9 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Add Int32x4 Wasm Simd Binops, compare ops, select - Added: Int32x4Mul, Int32x4Min, Int32x4Max, Int32x4Equal, Int32x4NotEqual Uint32x4Min, Uint32x4Max - Fix I32x4Splat R=bbudge@chromium.org, bradnelson@chromium.org, mtrofin@chromium.org Review-Url: https://codereview.chromium.org/2719953002 Cr-Commit-Position: refs/heads/master@{#43827} Committed: https://chromium.googlesource.com/v8/v8/+/16796914cb2745bfa90e76fdb280bcf97589610c

Patch Set 1 #

Patch Set 2 : Use pshufd #

Patch Set 3 : Rebase + macro-assembler #

Patch Set 4 : Fix macro #

Total comments: 2

Patch Set 5 : Rebase, use pshufd #

Patch Set 6 : Rebase, use pshufd #

Total comments: 2

Patch Set 7 : Rebase #

Patch Set 8 : Add Int32x4 shift ops #

Total comments: 10

Patch Set 9 : Rebase + Review #

Patch Set 10 : Add conditional to remove ia32 fails #

Total comments: 6

Patch Set 11 : Modify SupportsSimd128 #

Patch Set 12 : Rebase #

Total comments: 1

Patch Set 13 : Fix #endif #

Patch Set 14 : Rebase again #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+222 lines, -96 lines) Patch
M src/arm/assembler-arm-inl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M src/arm64/assembler-arm64-inl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M src/assembler.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/instruction-selector.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +30 lines, -26 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/x64/code-generator-x64.cc View 1 2 3 4 5 6 7 8 11 12 13 2 chunks +58 lines, -6 lines 2 comments Download
M src/compiler/x64/instruction-codes-x64.h View 1 2 3 4 5 6 7 8 11 12 13 1 chunk +11 lines, -0 lines 0 comments Download
M src/compiler/x64/instruction-scheduler-x64.cc View 1 2 3 4 5 6 7 8 11 12 13 1 chunk +11 lines, -0 lines 0 comments Download
M src/compiler/x64/instruction-selector-x64.cc View 1 2 3 4 5 6 7 8 11 12 13 1 chunk +85 lines, -49 lines 0 comments Download
M src/ia32/assembler-ia32-inl.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 4 comments Download
M src/mips/assembler-mips-inl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M src/mips64/assembler-mips64-inl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M src/ppc/assembler-ppc-inl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M src/s390/assembler-s390-inl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M src/x64/assembler-x64-inl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M src/x87/assembler-x87-inl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/wasm/test-run-wasm-simd.cc View 1 2 3 4 5 6 7 8 9 12 13 6 chunks +15 lines, -3 lines 0 comments Download
M test/cctest/wasm/wasm-run-utils.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 61 (45 generated)
gdeepti
3 years, 9 months ago (2017-02-27 14:38:13 UTC) #5
bbudge
https://codereview.chromium.org/2719953002/diff/60001/src/compiler/x64/code-generator-x64.cc File src/compiler/x64/code-generator-x64.cc (right): https://codereview.chromium.org/2719953002/diff/60001/src/compiler/x64/code-generator-x64.cc#newcode2160 src/compiler/x64/code-generator-x64.cc:2160: __ Pshufd(dst, dst, 0x0); This will use AVX if ...
3 years, 9 months ago (2017-02-27 19:15:03 UTC) #10
gdeepti
https://codereview.chromium.org/2719953002/diff/60001/src/compiler/x64/code-generator-x64.cc File src/compiler/x64/code-generator-x64.cc (right): https://codereview.chromium.org/2719953002/diff/60001/src/compiler/x64/code-generator-x64.cc#newcode2160 src/compiler/x64/code-generator-x64.cc:2160: __ Pshufd(dst, dst, 0x0); On 2017/02/27 19:15:03, bbudge wrote: ...
3 years, 9 months ago (2017-02-28 03:36:42 UTC) #15
gdeepti
3 years, 9 months ago (2017-02-28 03:36:43 UTC) #16
bbudge
https://codereview.chromium.org/2719953002/diff/100001/src/compiler/x64/instruction-selector-x64.cc File src/compiler/x64/instruction-selector-x64.cc (right): https://codereview.chromium.org/2719953002/diff/100001/src/compiler/x64/instruction-selector-x64.cc#newcode2290 src/compiler/x64/instruction-selector-x64.cc:2290: #define VISIT_SIMD_BINOP(Opcode) \ Nit: I think it's good to ...
3 years, 9 months ago (2017-02-28 19:34:39 UTC) #27
gdeepti
https://codereview.chromium.org/2719953002/diff/100001/src/compiler/x64/instruction-selector-x64.cc File src/compiler/x64/instruction-selector-x64.cc (right): https://codereview.chromium.org/2719953002/diff/100001/src/compiler/x64/instruction-selector-x64.cc#newcode2290 src/compiler/x64/instruction-selector-x64.cc:2290: #define VISIT_SIMD_BINOP(Opcode) \ On 2017/02/28 19:34:39, bbudge wrote: > ...
3 years, 9 months ago (2017-03-13 20:37:52 UTC) #34
bbudge
Looking good, just a few comments. https://codereview.chromium.org/2719953002/diff/180001/src/compiler/instruction-selector.cc File src/compiler/instruction-selector.cc (right): https://codereview.chromium.org/2719953002/diff/180001/src/compiler/instruction-selector.cc#newcode2058 src/compiler/instruction-selector.cc:2058: void InstructionSelector::VisitInt32x4NotEqual(Node* node) ...
3 years, 9 months ago (2017-03-14 17:50:40 UTC) #37
gdeepti
https://codereview.chromium.org/2719953002/diff/180001/src/compiler/instruction-selector.cc File src/compiler/instruction-selector.cc (right): https://codereview.chromium.org/2719953002/diff/180001/src/compiler/instruction-selector.cc#newcode2058 src/compiler/instruction-selector.cc:2058: void InstructionSelector::VisitInt32x4NotEqual(Node* node) { UNIMPLEMENTED(); } On 2017/03/14 17:50:39, ...
3 years, 9 months ago (2017-03-14 21:32:52 UTC) #44
bbudge
LGTM thanks for fixing the capabilities testing. +Jing for ia32. https://codereview.chromium.org/2719953002/diff/260001/src/ia32/assembler-ia32-inl.h File src/ia32/assembler-ia32-inl.h (right): https://codereview.chromium.org/2719953002/diff/260001/src/ia32/assembler-ia32-inl.h#newcode51 ...
3 years, 9 months ago (2017-03-14 22:19:29 UTC) #50
gdeepti
https://codereview.chromium.org/2719953002/diff/260001/src/ia32/assembler-ia32-inl.h File src/ia32/assembler-ia32-inl.h (right): https://codereview.chromium.org/2719953002/diff/260001/src/ia32/assembler-ia32-inl.h#newcode51 src/ia32/assembler-ia32-inl.h:51: bool CpuFeatures::SupportsWasmSimd128() { return IsSupported(SSE4_1); } On 2017/03/14 22:19:29, ...
3 years, 9 months ago (2017-03-14 22:26:09 UTC) #51
gdeepti
Adding bmeurer@ for owners review in src/compiler/ as mtrofin@ is on vacation.
3 years, 9 months ago (2017-03-14 22:43:05 UTC) #53
Benedikt Meurer
LGTM on compiler.
3 years, 9 months ago (2017-03-15 04:40:46 UTC) #54
Jing
https://codereview.chromium.org/2719953002/diff/260001/src/compiler/x64/code-generator-x64.cc File src/compiler/x64/code-generator-x64.cc (right): https://codereview.chromium.org/2719953002/diff/260001/src/compiler/x64/code-generator-x64.cc#newcode2227 src/compiler/x64/code-generator-x64.cc:2227: __ xorps(dst, i.InputSimd128Register(2)); Just for your information that blendvps ...
3 years, 9 months ago (2017-03-15 08:20:33 UTC) #55
gdeepti
https://codereview.chromium.org/2719953002/diff/260001/src/compiler/x64/code-generator-x64.cc File src/compiler/x64/code-generator-x64.cc (right): https://codereview.chromium.org/2719953002/diff/260001/src/compiler/x64/code-generator-x64.cc#newcode2227 src/compiler/x64/code-generator-x64.cc:2227: __ xorps(dst, i.InputSimd128Register(2)); On 2017/03/15 08:20:33, Jing wrote: > ...
3 years, 9 months ago (2017-03-15 13:23:03 UTC) #56
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/2719953002/260001
3 years, 9 months ago (2017-03-15 13:23:15 UTC) #58
commit-bot: I haz the power
3 years, 9 months ago (2017-03-15 13:25:02 UTC) #61
Message was sent while issue was closed.
Committed patchset #14 (id:260001) as
https://chromium.googlesource.com/v8/v8/+/16796914cb2745bfa90e76fdb280bcf9758...

Powered by Google App Engine
This is Rietveld 408576698