summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Ecc
diff options
context:
space:
mode:
authorSami Mujawar <sami.mujawar@arm.com>2017-09-14 19:11:21 +0300
committerLeif Lindholm <leif.lindholm@linaro.org>2017-09-15 18:56:08 +0300
commit2f16993c255ca27bd3e8fa42489e8395d5308c3b (patch)
tree818c13465ef60c86294827f99c9eb89d1aef3ceb /BaseTools/Source/Python/Ecc
parent11b4463e096523fe03ac840472d483652ae93904 (diff)
downloadedk2-2f16993c255ca27bd3e8fa42489e8395d5308c3b.tar.xz
ArmPkg: ARM v8.2 updates for detecting FP
The ARMv8.2-FP16 extension introduces support for half precision floating point and the processor ID registers have been updated to enable detection of the implementation. The possible values for the FP bits in ID_AA64PFR0_EL1[19:16] are: - 0000 : Floating-point is implemented. - 0001 : Floating-point including Half-precision support is implemented. - 1111 : Floating-point is not implemented. - All other values are reserved. Previously ArmEnableVFP() compared the FP bits with 0000b to see if the FP was implemented, before enabling FP. Modified this check to enable the FP if the FP bits 19:16 are not 1111b. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Sami Mujawar <sami.mujawar@arm.com> Signed-off-by: Evan Lloyd <evan.lloyd@arm.com> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'BaseTools/Source/Python/Ecc')
0 files changed, 0 insertions, 0 deletions