Skip to content

[mono] Add back OP_XOP_OVR_X_X for arm64 #85401

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 1 commit into from
Apr 27, 2023

Conversation

radekdoulik
Copy link
Member

@radekdoulik radekdoulik commented Apr 26, 2023

And also add missing intrinsic attributes.

This addresses feedback from #85303

Fixes #85345

And also add missing intrinsic attributes.

This addresses feedback from dotnet#85390
@ghost ghost assigned radekdoulik Apr 26, 2023
@radekdoulik radekdoulik marked this pull request as ready for review April 26, 2023 15:35
@radekdoulik radekdoulik requested a review from vargaz as a code owner April 26, 2023 15:35
@radekdoulik radekdoulik requested a review from akoeplinger April 26, 2023 15:35
@@ -8704,12 +8710,6 @@ MONO_RESTORE_WARNING
values [ins->dreg] = call_intrins (ctx, id, args, "");
break;
}
case OP_XOP_OVR_X_X: {
IntrinsicId iid = (IntrinsicId) ins->inst_c0;
Copy link
Contributor

Choose a reason for hiding this comment

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

These probably can be moved outside the ifdefs.

Copy link
Member

Choose a reason for hiding this comment

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

Where were they before?

Copy link
Member

Choose a reason for hiding this comment

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

I found it. They were Arm64 only before. I think that it is better to keep it under #if defined(TARGET_ARM64) || defined(TARGET_WASM), as it is only used by those two platforms. If we need to use it on other platforms, we could move it out later.

@akoeplinger
Copy link
Member

Thanks, this fixes the issues I saw on iOS. Please backport to release/8.0-preview4

@lewing
Copy link
Member

lewing commented Apr 26, 2023

/backport to release/8.0-preview4

@github-actions
Copy link
Contributor

Started backporting to release/8.0-preview4: https://github.com/dotnet/runtime/actions/runs/4811230237

@radekdoulik
Copy link
Member Author

The failures are unrelated

@radekdoulik radekdoulik merged commit 0814c60 into dotnet:main Apr 27, 2023
@ghost ghost locked as resolved and limited conversation to collaborators May 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PNSE in System.Buffers.IndexOfAnyAsciiSearcher.IndexOfAnyVectorized on iOS/tvOS arm64
5 participants