X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ArmPkg%2FLibrary%2FArmLib%2FArm%2FArmV7Support.S;h=4925f6628e1e907ed77151c075f57379d7d0fe9d;hp=16c56f72e973e8e065ed7677e55152cc476504b8;hb=8594c2073cdb1065e60f01e9b099918c5e839212;hpb=99243102b4671e4997910b950a8e7c9c15ef9d04 diff --git a/ArmPkg/Library/ArmLib/Arm/ArmV7Support.S b/ArmPkg/Library/ArmLib/Arm/ArmV7Support.S index 16c56f72e9..4925f6628e 100644 --- a/ArmPkg/Library/ArmLib/Arm/ArmV7Support.S +++ b/ArmPkg/Library/ArmLib/Arm/ArmV7Support.S @@ -262,6 +262,8 @@ ASM_FUNC(ArmEnableVFP) #ifndef __clang__ mcr p10,#0x7,r0,c8,c0,#0 #else + # Set the FPU model so Clang does not choke on the next instruction + .fpu neon vmsr fpexc, r0 #endif bx lr