Commit 6cd1be6e authored by Will Deacon's avatar Will Deacon Committed by Taniya Das
Browse files

ARM: vfp: add VFPv4 capability detection and populate elf_hwcap



The presence of VFPv4 cannot be detected simply by looking at the FPSID
subarchitecture field, as a value >= 2 signifies the architecture as
VFPv3 or later.

This patch reads from MVFR1 to check whether or not the fused multiply
accumulate instructions are supported. Since these are introduced with
VFPv4, this tells us what we need to know.

Change-Id: If1078dbd752a451a0ceda4997685fe849fcdd11a
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarTaniya Das <tdas@codeaurora.org>
parent 5b7cedf9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment