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

arm64: Lift FCVTZS Wd,Dn,#n to LLIL #6280

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

Conversation

droe
Copy link

@droe droe commented Dec 27, 2024

Lift FCVTZS Wd,Dn,#n to LLIL as an intrinsic.

The intrinsic is made up in the sense that I could not find an intrinsic corresponding to this instruction variant in Arm Neon Intrinsics Reference nor in arm_neon.h shipping with Xcode's clang. There is precedent for such made up intrinsics: The unsigned version of this, FCVTZU Wd,Dn,#n, was added as part of c3040ec.

I've added two tests to arm64test.py that pass (after disabling the tests_tbl test group that's currently failing for reasons unrelated to this PR). Also tested that it resolves the unimplemented instruction error with an in-the-wild binary that makes use of this instruction variant (not sharable).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants