-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
aarch-pc-windows-msvc should support hardware floating point by default. #66701
Copy link
Copy link
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.O-ArmTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 stateTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 stateO-windows-msvcToolchain: MSVC, Operating system: WindowsToolchain: MSVC, Operating system: WindowsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.O-ArmTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 stateTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 stateO-windows-msvcToolchain: MSVC, Operating system: WindowsToolchain: MSVC, Operating system: WindowsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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 --releaseI am on the latest nightly.
When I add target-feature=+fp-armv8, I get hardware floating point.
According to the Microsoft Documentation:
Therefore, I would suggest that target-feature=+fp-armv8,+neon should be the default for this target.