ARM: vfp: add VFPv4 capability detection and populate elf_hwcap
authorWill Deacon <will.deacon@arm.com>
Wed, 8 Jun 2011 10:42:43 +0000 (11:42 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 7 Jul 2011 18:20:52 +0000 (19:20 +0100)
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.

Signed-off-by: Will Deacon <will.deacon@arm.com>

No differences found