Skip to content

[SM6.9] Disable native vec deriv ops and expand testing#7432

Merged
pow2clk merged 1 commit intomicrosoft:mainfrom
pow2clk:nvec_intrinsics
May 7, 2025
Merged

[SM6.9] Disable native vec deriv ops and expand testing#7432
pow2clk merged 1 commit intomicrosoft:mainfrom
pow2clk:nvec_intrinsics

Conversation

@pow2clk
Copy link
Copy Markdown
Collaborator

@pow2clk pow2clk commented May 6, 2025

Several intrinsics that were enabled for native vectors late got their testing removed as it expected scalarized forms. This adds tests for pow, modf, and abs in their native vector intrinsic forms. It removes native vector intrinsics for derivative operations as they require more scalarization removal due to their convergent markers and restores the scalarized testing for them. The 1024 size was removed from longvec-intrinsics as the verbose way that constant vectors are represented in the disassembly made the test take significantly longer.

Several intrinsics that were enabled for native vectors late got their
testing removed as it expected scalarized forms. This adds tests for
pow, modf, and abs in their native vector intrinsic forms. It removes
native vector intrinsics for derivative operations as they require more
scalarization removal due to their convergent markers and restores the
scalarized testing for them. The 1024 size was removed from
longvec-intrinsics as the verbose way that constant vectors are
represented in the disassembly made the test take significantly longer.
@pow2clk pow2clk changed the title [SM6.9] Restore testing for native vector intrinsics [SM6.9] Disable native vec deriv ops and expand testing May 6, 2025
Copy link
Copy Markdown
Contributor

@tex3d tex3d left a comment

Choose a reason for hiding this comment

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

Yes please, looks good. Let's take this change into preview.

Copy link
Copy Markdown
Member

@damyanp damyanp left a comment

Choose a reason for hiding this comment

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

Do the existing issues we have track the work required to re-enable them all again?

@pow2clk pow2clk merged commit 231d648 into microsoft:main May 7, 2025
14 checks passed
@github-project-automation github-project-automation Bot moved this from New to Done in HLSL Roadmap May 7, 2025
@pow2clk pow2clk deleted the nvec_intrinsics branch May 7, 2025 20:34
pow2clk pushed a commit to pow2clk/DirectXShaderCompiler that referenced this pull request May 8, 2025
Several intrinsics that were enabled for native vectors late got their
testing removed as it expected scalarized forms. This adds tests for
pow, modf, and abs in their native vector intrinsic forms. It removes
native vector intrinsics for derivative operations as they require more
scalarization removal due to their convergent markers and restores the
scalarized testing for them. The 1024 size was removed from
longvec-intrinsics as the verbose way that constant vectors are
represented in the disassembly made the test take significantly longer.

(cherry picked from commit 231d648)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants