Closed
Description
When I cross-compile a project to aarch64-pc-windows-msvc using an x64-pc-windows-msvc toolchain, the output uses software floating point. I am building using this command
cargo build --target aarch64-pc-windows-msvc --release
I am on the latest nightly.
When I add target-feature=+fp-armv8, I get hardware floating point.
According to the Microsoft Documentation:
The ARM64 version of Windows presupposes that it's running on an ARMv8 or later architecture at all times. Both floating-point and NEON support are presumed to be present in hardware.
Therefore, I would suggest that target-feature=+fp-armv8,+neon should be the default for this target.