commit | 18b9dc130c33de2d1fd46bd668e67d0e1a544b16 | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Wed Jun 08 11:42:43 2011 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Thu Jul 07 19:20:52 2011 +0100 |
tree | 6baac3359f06737ab27d28d2c29311334aa39313 | |
parent | 254cdf8ec39653d19cce71b6622f38a6b62ac3a8 [diff] |
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. Signed-off-by: Will Deacon <will.deacon@arm.com>