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:
Mitchell Horne 2020-09-29 23:21:56 +00:00
parent 17b8b8fb5f
commit fe9602fbf8

View File

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