[arm64][wasm] Add 8x8 Deinterleave using UZP [v8/v8 : main]

0 views
Skip to first unread message

Matthias Liedtke (Gerrit)

unread,
Nov 18, 2025, 10:53:15 AM (22 hours ago) Nov 18
to Emily Boarer, V8 LUCI CQ, dmercadi...@chromium.org, v8-re...@googlegroups.com, was...@google.com
Attention needed from Emily Boarer

Matthias Liedtke voted and added 1 comment

Votes added by Matthias Liedtke

Code-Review+1

1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Matthias Liedtke . unresolved

LGTM.
This is guarded behind the `--experimental-wasm-simd-opt`, correct?

Open in Gerrit

Related details

Attention is currently required from:
  • Emily Boarer
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: Ifd8960d7df935a09f435cb6bd431717586c6ecb3
Gerrit-Change-Number: 7165874
Gerrit-PatchSet: 1
Gerrit-Owner: Emily Boarer <emily....@arm.com>
Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
Gerrit-Attention: Emily Boarer <emily....@arm.com>
Gerrit-Comment-Date: Tue, 18 Nov 2025 15:53:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Sam Parker-Haynes (Gerrit)

unread,
Nov 18, 2025, 11:03:17 AM (21 hours ago) Nov 18
to Emily Boarer, Matthias Liedtke, V8 LUCI CQ, dmercadi...@chromium.org, v8-re...@googlegroups.com, was...@google.com
Attention needed from Emily Boarer

Sam Parker-Haynes added 1 comment

Patchset-level comments
Matthias Liedtke . unresolved

LGTM.
This is guarded behind the `--experimental-wasm-simd-opt`, correct?

Sam Parker-Haynes

Hi Matthias, indeed it is. Emily will have another patch in this area and then, I hope, we'll be happy, performance-wise, with enabling the pass (but without the deinterleaving load support)

Open in Gerrit

Related details

Attention is currently required from:
  • Emily Boarer
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: Ifd8960d7df935a09f435cb6bd431717586c6ecb3
Gerrit-Change-Number: 7165874
Gerrit-PatchSet: 1
Gerrit-Owner: Emily Boarer <emily....@arm.com>
Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
Gerrit-CC: Sam Parker-Haynes <sam.p...@arm.com>
Gerrit-Attention: Emily Boarer <emily....@arm.com>
Gerrit-Comment-Date: Tue, 18 Nov 2025 16:03:11 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Matthias Liedtke <mlie...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Matthias Liedtke (Gerrit)

unread,
Nov 18, 2025, 12:29:58 PM (20 hours ago) Nov 18
to Emily Boarer, Sam Parker-Haynes, V8 LUCI CQ, dmercadi...@chromium.org, v8-re...@googlegroups.com, was...@google.com
Attention needed from Emily Boarer

Matthias Liedtke added 1 comment

Patchset-level comments
Matthias Liedtke . unresolved

LGTM.
This is guarded behind the `--experimental-wasm-simd-opt`, correct?

Sam Parker-Haynes

Hi Matthias, indeed it is. Emily will have another patch in this area and then, I hope, we'll be happy, performance-wise, with enabling the pass (but without the deinterleaving load support)

Matthias Liedtke

We'd probably need a fuzzing story here before shipping.
Right now I guess the chance is low that a fuzzer emits instructions with the "exactly" correct lane configurations to trigger these optimizations, but let's start with enabling these flags on the fuzzers?

https://chromium-review.googlesource.com/c/v8/v8/+/7169185

Open in Gerrit

Related details

Attention is currently required from:
  • Emily Boarer
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: Ifd8960d7df935a09f435cb6bd431717586c6ecb3
Gerrit-Change-Number: 7165874
Gerrit-PatchSet: 1
Gerrit-Owner: Emily Boarer <emily....@arm.com>
Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
Gerrit-CC: Sam Parker-Haynes <sam.p...@arm.com>
Gerrit-Attention: Emily Boarer <emily....@arm.com>
Gerrit-Comment-Date: Tue, 18 Nov 2025 17:29:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Matthias Liedtke <mlie...@chromium.org>
Comment-In-Reply-To: Sam Parker-Haynes <sam.p...@arm.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Matthias Liedtke (Gerrit)

unread,
Nov 18, 2025, 12:36:26 PM (20 hours ago) Nov 18
to Emily Boarer, Sam Parker-Haynes, V8 LUCI CQ, dmercadi...@chromium.org, v8-re...@googlegroups.com, was...@google.com
Attention needed from Emily Boarer and Sam Parker-Haynes

Matthias Liedtke added 1 comment

Patchset-level comments
Matthias Liedtke . resolved

LGTM.
This is guarded behind the `--experimental-wasm-simd-opt`, correct?

Sam Parker-Haynes

Hi Matthias, indeed it is. Emily will have another patch in this area and then, I hope, we'll be happy, performance-wise, with enabling the pass (but without the deinterleaving load support)

Matthias Liedtke

We'd probably need a fuzzing story here before shipping.
Right now I guess the chance is low that a fuzzer emits instructions with the "exactly" correct lane configurations to trigger these optimizations, but let's start with enabling these flags on the fuzzers?

https://chromium-review.googlesource.com/c/v8/v8/+/7169185

Matthias Liedtke

Resolving this comment as it's unrelated to the change itself and therefore shouldn't block it from landing.

Open in Gerrit

Related details

Attention is currently required from:
  • Emily Boarer
  • Sam Parker-Haynes
Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: v8/v8
    Gerrit-Branch: main
    Gerrit-Change-Id: Ifd8960d7df935a09f435cb6bd431717586c6ecb3
    Gerrit-Change-Number: 7165874
    Gerrit-PatchSet: 1
    Gerrit-Owner: Emily Boarer <emily....@arm.com>
    Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
    Gerrit-CC: Sam Parker-Haynes <sam.p...@arm.com>
    Gerrit-Attention: Emily Boarer <emily....@arm.com>
    Gerrit-Attention: Sam Parker-Haynes <sam.p...@arm.com>
    Gerrit-Comment-Date: Tue, 18 Nov 2025 17:36:22 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Sam Parker-Haynes (Gerrit)

    unread,
    3:27 AM (5 hours ago) 3:27 AM
    to Emily Boarer, Matthias Liedtke, V8 LUCI CQ, dmercadi...@chromium.org, v8-re...@googlegroups.com, was...@google.com
    Attention needed from Emily Boarer

    Sam Parker-Haynes voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Emily Boarer
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: v8/v8
    Gerrit-Branch: main
    Gerrit-Change-Id: Ifd8960d7df935a09f435cb6bd431717586c6ecb3
    Gerrit-Change-Number: 7165874
    Gerrit-PatchSet: 1
    Gerrit-Owner: Emily Boarer <emily....@arm.com>
    Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
    Gerrit-Reviewer: Sam Parker-Haynes <sam.p...@arm.com>
    Gerrit-Attention: Emily Boarer <emily....@arm.com>
    Gerrit-Comment-Date: Wed, 19 Nov 2025 08:26:58 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Sam Parker-Haynes (Gerrit)

    unread,
    3:27 AM (5 hours ago) 3:27 AM
    to Emily Boarer, Matthias Liedtke, V8 LUCI CQ, dmercadi...@chromium.org, v8-re...@googlegroups.com, was...@google.com
    Attention needed from Emily Boarer

    Sam Parker-Haynes voted Commit-Queue+2

    Commit-Queue+2
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Emily Boarer
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: v8/v8
    Gerrit-Branch: main
    Gerrit-Change-Id: Ifd8960d7df935a09f435cb6bd431717586c6ecb3
    Gerrit-Change-Number: 7165874
    Gerrit-PatchSet: 1
    Gerrit-Owner: Emily Boarer <emily....@arm.com>
    Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
    Gerrit-Reviewer: Sam Parker-Haynes <sam.p...@arm.com>
    Gerrit-Attention: Emily Boarer <emily....@arm.com>
    Gerrit-Comment-Date: Wed, 19 Nov 2025 08:27:04 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    V8 LUCI CQ (Gerrit)

    unread,
    3:29 AM (5 hours ago) 3:29 AM
    to Emily Boarer, Sam Parker-Haynes, Matthias Liedtke, dmercadi...@chromium.org, v8-re...@googlegroups.com, was...@google.com

    V8 LUCI CQ submitted the change

    Change information

    Commit message:
    [arm64][wasm] Add 8x8 Deinterleave using UZP

    Two UZP/UZP2 instructions can be chained to extract every fourth element
    in a shuffle, from a different offset for each combination.
    Change-Id: Ifd8960d7df935a09f435cb6bd431717586c6ecb3
    Reviewed-by: Matthias Liedtke <mlie...@chromium.org>
    Reviewed-by: Sam Parker-Haynes <sam.p...@arm.com>
    Commit-Queue: Sam Parker-Haynes <sam.p...@arm.com>
    Cr-Commit-Position: refs/heads/main@{#103803}
    Files:
    • M src/compiler/backend/arm64/instruction-selector-arm64.cc
    • M src/wasm/simd-shuffle.cc
    • M src/wasm/simd-shuffle.h
    • M test/mjsunit/wasm/half-shuffles.js
    • M test/unittests/compiler/arm64/turboshaft-instruction-selector-arm64-unittest.cc
    Change size: M
    Delta: 5 files changed, 125 insertions(+), 3 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Sam Parker-Haynes, +1 by Matthias Liedtke
    Open in Gerrit
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: merged
    Gerrit-Project: v8/v8
    Gerrit-Branch: main
    Gerrit-Change-Id: Ifd8960d7df935a09f435cb6bd431717586c6ecb3
    Gerrit-Change-Number: 7165874
    Gerrit-PatchSet: 2
    Gerrit-Owner: Emily Boarer <emily....@arm.com>
    Gerrit-Reviewer: Matthias Liedtke <mlie...@chromium.org>
    Gerrit-Reviewer: Sam Parker-Haynes <sam.p...@arm.com>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages