svn commit: r366360 - stable/12/sys/arm64/arm64

Mitchell Horne mhorne at FreeBSD.org
Fri Oct 2 13:31:20 UTC 2020


Author: mhorne
Date: Fri Oct  2 13:31:20 2020
New Revision: 366360
URL: https://svnweb.freebsd.org/changeset/base/366360

Log:
  MFC r366271:
  arm64: set the correct HWCAP

Modified:
  stable/12/sys/arm64/arm64/identcpu.c

Modified: stable/12/sys/arm64/arm64/identcpu.c
==============================================================================
--- stable/12/sys/arm64/arm64/identcpu.c	Fri Oct  2 12:49:27 2020	(r366359)
+++ stable/12/sys/arm64/arm64/identcpu.c	Fri Oct  2 13:31:20 2020	(r366360)
@@ -500,7 +500,7 @@ parse_cpu_features_hwcap(u_int cpu)
 		hwcap |= HWCAP_ASIMD;
 		break;
 	case ID_AA64PFR0_AdvSIMD_HP:
-		hwcap |= HWCAP_ASIMD | HWCAP_ASIMDDP;
+		hwcap |= HWCAP_ASIMD | HWCAP_ASIMDHP;
 		break;
 	default:
 		break;


More information about the svn-src-all mailing list