arm64: set the correct HWCAP
This appears to be a typo. The AdvSIMD field encodes support for half-precision floating point SIMD instructions, which corresponds to HWCAP_ASIMDHP, not HWCAP_ASIMDDP. MFC after: 3 days Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
17b8b8fb5f
commit
fe9602fbf8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=366271
@ -1295,7 +1295,7 @@ parse_cpu_features_hwcap(void)
|
||||
hwcap |= HWCAP_ASIMD;
|
||||
break;
|
||||
case ID_AA64PFR0_AdvSIMD_HP:
|
||||
hwcap |= HWCAP_ASIMD | HWCAP_ASIMDDP;
|
||||
hwcap |= HWCAP_ASIMD | HWCAP_ASIMDHP;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user