Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2018 15:06:14 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r339593 - head/sys/arm64/include
Message-ID:  <201810221506.w9MF6ESV028788@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Mon Oct 22 15:06:14 2018
New Revision: 339593
URL: https://svnweb.freebsd.org/changeset/base/339593

Log:
  Fix the ID_AA64ISAR0_EL1 dot product field shift.
  
  It's 44 in the documentation, use this correct value.
  
  MFC after:	3 days

Modified:
  head/sys/arm64/include/armreg.h

Modified: head/sys/arm64/include/armreg.h
==============================================================================
--- head/sys/arm64/include/armreg.h	Mon Oct 22 14:58:59 2018	(r339592)
+++ head/sys/arm64/include/armreg.h	Mon Oct 22 15:06:14 2018	(r339593)
@@ -260,7 +260,7 @@
 #define	ID_AA64ISAR0_SM4(x)		((x) & ID_AA64ISAR0_SM4_MASK)
 #define	 ID_AA64ISAR0_SM4_NONE		(0x0ul << ID_AA64ISAR0_SM4_SHIFT)
 #define	 ID_AA64ISAR0_SM4_IMPL		(0x1ul << ID_AA64ISAR0_SM4_SHIFT)
-#define	ID_AA64ISAR0_DP_SHIFT		48
+#define	ID_AA64ISAR0_DP_SHIFT		44
 #define	ID_AA64ISAR0_DP_MASK		(0xful << ID_AA64ISAR0_DP_SHIFT)
 #define	ID_AA64ISAR0_DP(x)		((x) & ID_AA64ISAR0_DP_MASK)
 #define	 ID_AA64ISAR0_DP_NONE		(0x0ul << ID_AA64ISAR0_DP_SHIFT)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810221506.w9MF6ESV028788>