Skip to content

Add AVX-512 VNNI and AVX10 integer dot products - #89

Open
danieltowner wants to merge 1 commit into
dot-pmaddwd-stackfrom
dot-vnni-stack
Open

danieltowner wants to merge 1 commit into
dot-pmaddwd-stackfrom
dot-vnni-stack

Conversation

@danieltowner

Copy link
Copy Markdown
Contributor

Add wrapping and saturating VNNI intrinsics and select the wrapping instructions for integer dot according to operand signedness and target support. Includes intrinsic coverage and an unsigned-word performance scenario.

@danieltowner
danieltowner added this pull request to stack #79 November 30, 2026 21:40
@danieltowner danieltowner changed the title Add AVX-512 VNNI and AVX10.2 integer dot products Add AVX-512 VNNI and AVX10 integer dot products Dec 1, 2026
@danieltowner
danieltowner requested a balanced review from Copilot December 1, 2026 11:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues were identified for the AVX-512 VNNI and AVX10.2 integer dot-product support changes.

No open issues 🎉

What changed in this PR

Adds AVX-512 VNNI and AVX10.2 integer dot-product support to xvec, extending its width-independent x86 intrinsics and accelerating integer dot operations.

Changes:

  • Adds wrapping and saturating integer dot-product intrinsics.
  • Selects wrapping instructions for dot based on operand signedness and target support.
  • Adds intrinsic tests and an unsigned-word performance scenario, and updates performance baselines and release notes.
File Description
test/​TestSimdIntrin.cpp Tests signedness combinations, operand order, wrapping, and saturation across vector sizes.
test/​performance/​scenarios/​dot_u16_u16_i32.cpp Adds an unsigned 16-bit dot-product performance scenario.
test/​performance/​baselines.json Updates dot-product baselines and adds limits for the new scenario.
include/​xvec/​x86/​x86_impl.hpp Adds VNNI dispatch for integer dot and adjusts FP16 chunking.
include/​xvec/​x86/​intrin.hpp Implements width-independent wrapping and saturating VNNI wrappers.
CHANGELOG.md Documents the intrinsics, hardware acceleration, and plain-char support.

Review effort: Balanced

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants