Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[release/9.0-staging] Use minipal_getcpufeatures to detect for AVX (#113032)#113489

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@cshung
Copy link
Contributor

@cshungcshung commentedMar 13, 2025
edited
Loading

Backport of # to release/9.0-staging

/cc@cshung

Customer Impact

@Typhon226 reported on#112897 that, on some machines, buggy behavior in__builtin_cpu_supports for Unix platforms could lie to us that it supports AVX512 when it doesn't. This could lead to runtime crashes.

Regression

  • Yes
  • No

The regression was introduced in PR#98712, commit68cf2dd when I enabled VxSort for unix platforms, but this is not the root cause.

Testing

Local testing is done on various machines, but none of them hit the__builtin_cpu_supports buggy behavior, so it worked both before and after the changes.
#113032 (comment)

Customer testing is done on the machines that hit the issue, and the fixed version works as expected, for both#112897 (comment) (9.0 binaries) and#112897 (comment) (10.0 binaries)

Risk

The risk is low, the same function is used by the JIT to determine if the CPU supports AVX512.

CopilotAI review requested due to automatic review settingsMarch 13, 2025 19:23
Copy link
Contributor

CopilotAI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/gc
See info inarea-owners.md if you want to be subscribed.

@mangod9
Copy link
Member

the build is still failing to find an include file.

cshung reacted with thumbs up emoji

@cshungcshungforce-pushed thebackport/pr-113032-to-release/9.0-staging branch from0399a20 toef9bf29CompareMarch 14, 2025 21:07
Copy link
Member

@jeffschwMSFTjeffschwMSFT left a comment

Choose a reason for hiding this comment

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

lgtm. we will take for consideration in 9.0.x

@jeffschwMSFTjeffschwMSFT added the Servicing-considerIssue for next servicing release review labelMar 14, 2025
@jeffschwMSFTjeffschwMSFT added this to the9.0.x milestoneMar 14, 2025
@leecowleecow added Servicing-approvedApproved for servicing release and removed Servicing-considerIssue for next servicing release review labelsMar 18, 2025
@leecowleecow modified the milestones:9.0.x,9.0.5Mar 18, 2025
@cshungcshung merged commit9226298 intodotnet:release/9.0-stagingMar 18, 2025
96 of 97 checks passed
@cshungcshung deleted the backport/pr-113032-to-release/9.0-staging branchMarch 18, 2025 18:55
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsApr 18, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

Copilot code reviewCopilotCopilot left review comments

@jeffschwMSFTjeffschwMSFTjeffschwMSFT approved these changes

@mangod9mangod9mangod9 approved these changes

Assignees

@cshungcshung

Labels

area-GC-coreclrServicing-approvedApproved for servicing release

Projects

None yet

Milestone

9.0.5

Development

Successfully merging this pull request may close these issues.

4 participants

@cshung@mangod9@jeffschwMSFT@leecow

[8]ページ先頭

©2009-2025 Movatter.jp