Skip to content

Ensure that we don't try to get the simdBaseJitType for scalar intrinsics #61982

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

Merged
merged 2 commits into from
Dec 3, 2021

Conversation

tannergooding
Copy link
Member

@tannergooding tannergooding commented Nov 23, 2021

This resolves #61901

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Nov 23, 2021
@ghost
Copy link

ghost commented Nov 23, 2021

Tagging subscribers to this area: @JulieLeeMSFT
See info in area-owners.md if you want to be subscribed.

Issue Details

This resolves

Author: tannergooding
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

unsigned int sizeBytes;

simdBaseJitType = getBaseJitTypeAndSizeOfSIMDType(clsHnd, &sizeBytes);
assert((category == HW_Category_Special) || (category == HW_Category_Helper) || (sizeBytes != 0));
}
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to add check for !isScalarIsa(isa) below - line 795 in the new version of the file?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, its probably good to cover that scenario pre-emptively.

Nothing will hit it today, but it fits with the changes already being made.

@echesakov
Copy link
Contributor

This should also fix #62117

@tannergooding tannergooding merged commit 020ed38 into dotnet:main Dec 3, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jan 2, 2022
@tannergooding tannergooding deleted the fix-61901 branch November 11, 2022 15:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test failure JIT\\HardwareIntrinsics\\X86\\X86Base\\Pause_ro\\Pause_ro.cmd
3 participants