Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JIT: Enable containment for BMI2 shift and rotate instructions #111778

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

saucecontrol
Copy link
Member

@saucecontrol saucecontrol commented Jan 24, 2025

Fixes #67314
Fixes #81522

This enables containment for the BMI2 shift and rotate instructions, and it enables those instructions on x86.

Diffs look good. There's a size regression on x86, since sarx/shlx/shrx are larger, but they are also much faster than the legacy instructions that take shift amount in cl.

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jan 24, 2025
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Jan 24, 2025
@saucecontrol saucecontrol changed the title JIT: Enable containment for rorx/sarx/shlx/shrx JIT: Enable containment for BMI2 shift and rotate instructions Jan 24, 2025
@saucecontrol saucecontrol marked this pull request as ready for review January 24, 2025 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI community-contribution Indicates that the PR has been added by a community member
Projects
None yet
1 participant