]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPkg/Library/ArmLib/Arm/ArmV7Support.S
ArmPkg/ArmV7Lib: add CLANG alternative for FPEXC access
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 15 Dec 2015 15:02:07 +0000 (15:02 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Tue, 15 Dec 2015 15:02:07 +0000 (15:02 +0000)
commit6d2449c1f5fb7ff18faaa08a4ac6b38709ea1e30
treee73560d1eecc6c0b4e1d1cac7b15ad9019c10dbc
parent19d9bf7725b9c0255e77e6656f2762d12887f70a
ArmPkg/ArmV7Lib: add CLANG alternative for FPEXC access

The open coded access to co-processor #10 to set FPEXC is not supported
by the CLANG assembler, but the architecturally correct VMSR instruction
is not supported by older binutils. So keep the former unless __clang__
is defined.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19282 6f19259b-4bc3-4df7-8a09-765794883524
ArmPkg/Library/ArmLib/ArmV7/ArmV7Support.S