HomeFreeBSD

Fix arm64 build after llvm 18.1.3 upgrade (take 2)

Description

Fix arm64 build after llvm 18.1.3 upgrade (take 2)

Instead of compiling the whole sys/arm64/arm64/vfp.c file without
-mgeneral-regs-only, which might have unwanted side effects, add
".arch_extension fp" / ".arch_extension nofp" pairs to the inline
assembly.

PR: 276104
Suggested by: andrew
MFC after: 1 month

(cherry picked from commit 61e482f2fcd53bbc7fd3d4cc8b7df79d5d57d75c)

Details

Provenance
dimAuthored on Apr 7 2024, 9:23 AM
Parents
rGc7c33b213a8a: Fix arm64 build after llvm 18.1.3 upgrade
Branches
Unknown
Tags
Unknown