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

Issue 2695613004: Add several SIMD opcodes to IA32 (Closed)

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

Description

Add several SIMD opcodes to IA32 CreateInt32x4, Int32x4ExtractLane, Int32x4ReplaceLane Int32x4Add, Int32x4Sub Also add paddd, psubd, vpaddd, vpsubd, pinsrw to ia32-assembler BUG= Review-Url: https://codereview.chromium.org/2695613004 Cr-Original-Commit-Position: refs/heads/master@{#43483} Committed: https://chromium.googlesource.com/v8/v8/+/4deb9ffdecf121c69a3db7eae6698eae23a80a15 Review-Url: https://codereview.chromium.org/2695613004 Cr-Commit-Position: refs/heads/master@{#43708} Committed: https://chromium.googlesource.com/v8/v8/+/b9614d4bd1fc7a6a32a7bcc33e793e2d7e520c59

Patch Set 1 #

Patch Set 2 : Fix debug test #

Total comments: 16

Patch Set 3 : Address comments and use pshufd for Int32x4 #

Patch Set 4 : Address comments: Inline sse-instr.h #

Total comments: 8

Patch Set 5 : Revert patch set 4, Add vpaddd/vpsubd, and Rebase #

Total comments: 9

Patch Set 6 : Adjust Pextrd and use pinsrd instead of Pinsrd #

Total comments: 2

Patch Set 7 : Rename IA32Int32x4Create to IA32Int32x4Splat #

Patch Set 8 : Rebase again #

Patch Set 9 : Rebase #

Patch Set 10 : Adjust Pinsrd to fix nosse4 #

Patch Set 11 : Rebase #

Patch Set 12 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -23 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/ia32/code-generator-ia32.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +36 lines, -2 lines 0 comments Download
M src/compiler/ia32/instruction-codes-ia32.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +8 lines, -1 line 0 comments Download
M src/compiler/ia32/instruction-scheduler-ia32.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +7 lines, -0 lines 0 comments Download
M src/compiler/ia32/instruction-selector-ia32.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +22 lines, -1 line 0 comments Download
M src/compiler/instruction-selector.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -1 line 0 comments Download
M src/ia32/assembler-ia32.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +33 lines, -0 lines 0 comments Download
M src/ia32/assembler-ia32.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +27 lines, -0 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 0 comments Download
M src/ia32/disasm-ia32.cc View 1 2 3 4 5 6 7 8 9 4 chunks +31 lines, -0 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -3 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 2 3 4 5 6 7 8 9 1 chunk +21 lines, -12 lines 0 comments Download
A src/ia32/sse-instr.h View 4 1 chunk +12 lines, -0 lines 0 comments Download
M src/v8.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/test-disasm-ia32.cc View 1 2 3 4 5 6 7 8 9 2 chunks +17 lines, -0 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-simd.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 44 (15 generated)
Jing
3 years, 10 months ago (2017-02-15 08:43:24 UTC) #2
bbudge
https://codereview.chromium.org/2695613004/diff/20001/src/ia32/assembler-ia32.h File src/ia32/assembler-ia32.h (right): https://codereview.chromium.org/2695613004/diff/20001/src/ia32/assembler-ia32.h#newcode985 src/ia32/assembler-ia32.h:985: byte opcode); This should probably be either private, or ...
3 years, 10 months ago (2017-02-15 16:00:12 UTC) #3
bbudge
A few more comments. https://codereview.chromium.org/2695613004/diff/20001/src/compiler/ia32/code-generator-ia32.cc File src/compiler/ia32/code-generator-ia32.cc (right): https://codereview.chromium.org/2695613004/diff/20001/src/compiler/ia32/code-generator-ia32.cc#newcode1921 src/compiler/ia32/code-generator-ia32.cc:1921: __ paddd(i.OutputSimd128Register(), i.InputSimd128Register(1)); If it's ...
3 years, 10 months ago (2017-02-15 16:07:31 UTC) #4
Jing
In addition to the comments, I also change shufps to pshufd since it's for Int32x4 ...
3 years, 10 months ago (2017-02-16 05:11:17 UTC) #5
bbudge
https://codereview.chromium.org/2695613004/diff/20001/src/compiler/ia32/code-generator-ia32.cc File src/compiler/ia32/code-generator-ia32.cc (right): https://codereview.chromium.org/2695613004/diff/20001/src/compiler/ia32/code-generator-ia32.cc#newcode1921 src/compiler/ia32/code-generator-ia32.cc:1921: __ paddd(i.OutputSimd128Register(), i.InputSimd128Register(1)); On 2017/02/16 05:11:17, Jing wrote: > ...
3 years, 10 months ago (2017-02-17 00:44:40 UTC) #6
Jing
https://codereview.chromium.org/2695613004/diff/20001/src/ia32/assembler-ia32.h File src/ia32/assembler-ia32.h (right): https://codereview.chromium.org/2695613004/diff/20001/src/ia32/assembler-ia32.h#newcode994 src/ia32/assembler-ia32.h:994: SSE2_INSTRUCTION_LIST(DECLARE_SSE2_INSTRUCTION) On 2017/02/17 00:44:40, bbudge wrote: > On 2017/02/16 ...
3 years, 10 months ago (2017-02-17 03:51:35 UTC) #7
bbudge
Just a few comments, otherwise LGTM https://codereview.chromium.org/2695613004/diff/60001/src/compiler/ia32/instruction-selector-ia32.cc File src/compiler/ia32/instruction-selector-ia32.cc (right): https://codereview.chromium.org/2695613004/diff/60001/src/compiler/ia32/instruction-selector-ia32.cc#newcode1696 src/compiler/ia32/instruction-selector-ia32.cc:1696: Emit(kIA32Int32x4Create, g.DefineAsRegister(node), g.Use(node->InputAt(0))); ...
3 years, 10 months ago (2017-02-18 00:02:25 UTC) #8
Jing
Hi Bill, I'm quite sorry that I rebased my local branch and don't know how ...
3 years, 10 months ago (2017-02-20 15:28:13 UTC) #9
bbudge
https://codereview.chromium.org/2695613004/diff/20001/src/ia32/assembler-ia32.h File src/ia32/assembler-ia32.h (right): https://codereview.chromium.org/2695613004/diff/20001/src/ia32/assembler-ia32.h#newcode994 src/ia32/assembler-ia32.h:994: SSE2_INSTRUCTION_LIST(DECLARE_SSE2_INSTRUCTION) On 2017/02/20 15:28:13, Jing wrote: > On 2017/02/17 ...
3 years, 10 months ago (2017-02-22 21:51:10 UTC) #10
Jing
https://codereview.chromium.org/2695613004/diff/80001/src/compiler/ia32/code-generator-ia32.cc File src/compiler/ia32/code-generator-ia32.cc (right): https://codereview.chromium.org/2695613004/diff/80001/src/compiler/ia32/code-generator-ia32.cc#newcode1916 src/compiler/ia32/code-generator-ia32.cc:1916: CpuFeatureScope sse_scope(masm(), SSE4_1); On 2017/02/22 21:51:10, bbudge wrote: > ...
3 years, 10 months ago (2017-02-23 07:28:17 UTC) #11
bbudge
Still LGTM. You may need a V8 compiler owner to land this. https://codereview.chromium.org/2695613004/diff/80001/src/compiler/ia32/code-generator-ia32.cc File src/compiler/ia32/code-generator-ia32.cc ...
3 years, 10 months ago (2017-02-24 18:28:54 UTC) #12
Jing
Adding Benedikt as reviewer. https://codereview.chromium.org/2695613004/diff/100001/src/compiler/ia32/code-generator-ia32.cc File src/compiler/ia32/code-generator-ia32.cc (right): https://codereview.chromium.org/2695613004/diff/100001/src/compiler/ia32/code-generator-ia32.cc#newcode1909 src/compiler/ia32/code-generator-ia32.cc:1909: case kIA32Int32x4Create: { On 2017/02/24 ...
3 years, 10 months ago (2017-02-25 02:49:04 UTC) #14
Jing
Hi Benedikt, please take a look. Thanks!
3 years, 9 months ago (2017-02-28 08:52:05 UTC) #15
Benedikt Meurer
LGTM (rubber-stamped)
3 years, 9 months ago (2017-02-28 08:54:18 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/2695613004/140001
3 years, 9 months ago (2017-02-28 09:05:03 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel_ng/builds/18046) v8_linux64_rel_ng on master.tryserver.v8 (JOB_FAILED, ...
3 years, 9 months ago (2017-02-28 09:06:14 UTC) #21
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/2695613004/160001
3 years, 9 months ago (2017-02-28 13:11:29 UTC) #24
commit-bot: I haz the power
Committed patchset #9 (id:160001) as https://chromium.googlesource.com/v8/v8/+/4deb9ffdecf121c69a3db7eae6698eae23a80a15
3 years, 9 months ago (2017-02-28 13:35:29 UTC) #27
Michael Achenbach
A revert of this CL (patchset #9 id:160001) has been created in https://codereview.chromium.org/2717423003/ by machenbach@chromium.org. ...
3 years, 9 months ago (2017-02-28 14:54:12 UTC) #28
bbudge
On 2017/02/28 14:54:12, Michael Achenbach wrote: > A revert of this CL (patchset #9 id:160001) ...
3 years, 9 months ago (2017-02-28 18:11:35 UTC) #29
Jing
On 2017/02/28 18:11:35, bbudge wrote: > On 2017/02/28 14:54:12, Michael Achenbach wrote: > > A ...
3 years, 9 months ago (2017-03-01 13:18:49 UTC) #30
bbudge
On 2017/03/01 13:18:49, Jing wrote: > On 2017/02/28 18:11:35, bbudge wrote: > > On 2017/02/28 ...
3 years, 9 months ago (2017-03-01 16:50:56 UTC) #31
Jing
On 2017/03/01 16:50:56, bbudge wrote: > On 2017/03/01 13:18:49, Jing wrote: > > On 2017/02/28 ...
3 years, 9 months ago (2017-03-02 05:08:32 UTC) #33
Jing
Ping
3 years, 9 months ago (2017-03-06 10:38:40 UTC) #34
bbudge
Still lgtm. It looks like you need a review from a wasm OWNER, adding mtrofin.
3 years, 9 months ago (2017-03-06 20:46:13 UTC) #36
Jing
Ping Trofin. PTAL, Thanks!
3 years, 9 months ago (2017-03-09 15:13:59 UTC) #37
Mircea Trofin
On 2017/03/09 15:13:59, Jing wrote: > Ping Trofin. > PTAL, Thanks! rubberstamp lgtm
3 years, 9 months ago (2017-03-09 15:25:25 UTC) #38
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/2695613004/220001
3 years, 9 months ago (2017-03-10 02:13:14 UTC) #41
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 02:40:16 UTC) #44
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://chromium.googlesource.com/v8/v8/+/b9614d4bd1fc7a6a32a7bcc33e793e2d7e5...

Powered by Google App Engine
This is Rietveld 408576698