Skip to content

Conversation

@adamgemmell
Copy link
Contributor

The instructions for some f16 intrinsics are available in the base neon feature (DUP/INS variants, store/loads and the fp conversion instructions FCVTL/FCVTN). This relaxes the requirement for the fp16 target feature on aarch64 for these intrinsics, which doesn't affect codegen/ABI.

This change makes it possible to create the Neon types on non-fp16 hardware, but since there's very little that can be done with these types outside of the intrinsics this shouldn't require the compiler to handle fallback implementations operations like it does with the scalar f16 type.

This seems to affect codegen on a lot of Arm intrinsics so I've avoided
making the change there.
@rustbot
Copy link
Collaborator

rustbot commented Dec 17, 2025

r? @Amanieu

rustbot has assigned @Amanieu.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@Amanieu Amanieu added this pull request to the merge queue Dec 17, 2025
Merged via the queue into rust-lang:main with commit a813561 Dec 17, 2025
73 checks passed
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.

3 participants