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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=366271

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;