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
@ -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