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

[Mono] Intrinsify As* on ARM64 with mini JIT on ARM64 #83544

Merged
merged 4 commits into from
Mar 18, 2023

Conversation

fanyang-mono
Copy link
Member

Contributes to #80566

Intrinsify Vector128.As* on ARM64 with mini JIT.

@jandupej
Copy link
Member

LGTM otherwise.

@@ -3665,6 +3665,8 @@ mono_arch_output_basic_block (MonoCompile *cfg, MonoBasicBlock *bb)
}
break;
}
case OP_XCAST:
Copy link
Member

Choose a reason for hiding this comment

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

It's worth noting that As isn't really a regular cast. It's a reinterpretation of bits and in RyuJIT there is no node created for it. It's purely an API to satisfy the higher level type systems and for the JIT we completely elide it in importation to guarantee it is zero cost.

@fanyang-mono
Copy link
Member Author

CI failures are not related to this PR.

@fanyang-mono
Copy link
Member Author

CI failures are not related to this PR.

@fanyang-mono fanyang-mono merged commit 1f86cb7 into dotnet:main Mar 18, 2023
@fanyang-mono fanyang-mono changed the title [Mono] Intrinsify As* on ARM64 with mini JIT [Mono] Intrinsify As* on ARM64 with mini JIT on ARM64 Mar 28, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Apr 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.

4 participants