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

Issue 2767983002: [wasm] Implement wasm x64 I16x8 Ops (Closed)

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

Description

[wasm] Implement wasm x64 I16x8 Ops - Add I16x8 Splat, ExtractLane, ReplaceLane, shift ops, Some BinOps and compare ops - Add pshufhw, pshuflw in the assembler, disassembler - Fix incorrect modrm for pextrw, this bug disregards the register allocated and always makes pextrw use rax. - Fix pextrw disasm to take the 0 - 7 bits of the immediate instead of 0 - 3. - Pextrw, pinsrw are in the assembler use 128 bit encodings, pextrw, pinsrw in the disassembler use legacy encodings, fix inconsistencies causing weird code gen when --print-code is used. Review-Url: https://codereview.chromium.org/2767983002 Cr-Commit-Position: refs/heads/master@{#44664} Committed: https://chromium.googlesource.com/v8/v8/+/c8c03c150d2add866c09bf2aa866c6b4ed585b08

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : New instructions #

Patch Set 4 : Fix disasm #

Patch Set 5 : Test splat #

Patch Set 6 : Finally fix splat #

Patch Set 7 : Fix assembler bugs #

Patch Set 8 : Fix patch failure #

Patch Set 9 : Add Saturate instructions #

Patch Set 10 : Add disasm test #

Patch Set 11 : Fix order of ops #

Total comments: 6

Patch Set 12 : Bill's review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+269 lines, -52 lines) Patch
M src/compiler/instruction-selector.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +31 lines, -25 lines 0 comments Download
M src/compiler/x64/code-generator-x64.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +97 lines, -1 line 0 comments Download
M src/compiler/x64/instruction-codes-x64.h View 1 2 3 4 5 6 7 8 1 chunk +20 lines, -1 line 0 comments Download
M src/compiler/x64/instruction-scheduler-x64.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +20 lines, -1 line 0 comments Download
M src/compiler/x64/instruction-selector-x64.cc View 1 2 3 4 5 6 7 8 4 chunks +38 lines, -13 lines 0 comments Download
M src/x64/assembler-x64.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M src/x64/assembler-x64.cc View 1 2 3 4 5 6 7 8 3 chunks +22 lines, -3 lines 0 comments Download
M src/x64/disasm-x64.cc View 1 2 3 4 5 6 7 8 5 chunks +20 lines, -5 lines 0 comments Download
M test/cctest/test-disasm-x64.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 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 7 chunks +15 lines, -3 lines 0 comments Download

Messages

Total messages: 50 (42 generated)
gdeepti
3 years, 8 months ago (2017-04-12 23:37:16 UTC) #35
bbudge
https://codereview.chromium.org/2767983002/diff/200001/src/compiler/instruction-selector.cc File src/compiler/instruction-selector.cc (right): https://codereview.chromium.org/2767983002/diff/200001/src/compiler/instruction-selector.cc#newcode2201 src/compiler/instruction-selector.cc:2201: #endif // V8_TARGET_ARCH_ARM nit: !V8_TARGET_ARCH_ARM https://codereview.chromium.org/2767983002/diff/200001/src/compiler/x64/code-generator-x64.cc File src/compiler/x64/code-generator-x64.cc (right): ...
3 years, 8 months ago (2017-04-17 17:34:07 UTC) #40
gdeepti
https://codereview.chromium.org/2767983002/diff/200001/src/compiler/instruction-selector.cc File src/compiler/instruction-selector.cc (right): https://codereview.chromium.org/2767983002/diff/200001/src/compiler/instruction-selector.cc#newcode2201 src/compiler/instruction-selector.cc:2201: #endif // V8_TARGET_ARCH_ARM On 2017/04/17 17:34:06, bbudge wrote: > ...
3 years, 8 months ago (2017-04-17 17:46:22 UTC) #41
bbudge
lgtm
3 years, 8 months ago (2017-04-17 17:53:28 UTC) #42
gdeepti
+mtrofin@ for OWNERS in src/compiler
3 years, 8 months ago (2017-04-17 17:58:42 UTC) #44
Mircea Trofin
On 2017/04/17 17:58:42, gdeepti wrote: > +mtrofin@ for OWNERS in src/compiler rubber stamp lgtm
3 years, 8 months ago (2017-04-17 18:16:19 UTC) #45
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/2767983002/220001
3 years, 8 months ago (2017-04-17 18:19:33 UTC) #47
commit-bot: I haz the power
3 years, 8 months ago (2017-04-17 18:47:54 UTC) #50
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://chromium.googlesource.com/v8/v8/+/c8c03c150d2add866c09bf2aa866c6b4ed5...

Powered by Google App Engine
This is Rietveld 408576698