Patchwork Add AArch64 HWCAP_DCPOP from Linux 4.14

login
register
mail settings
Submitter Joseph Myers
Date Nov. 15, 2017, 10:59 p.m.
Message ID <alpine.DEB.2.20.1711152259030.3674@digraph.polyomino.org.uk>
Download mbox | patch
Permalink /patch/24275/
State New
Headers show

Comments

Joseph Myers - Nov. 15, 2017, 10:59 p.m.
This patch adds the HWCAP_DCPOP macro from Linux 4.14 to the AArch64
bits/hwcap.h.

Tested (compilation only) for aarch64 with build-many-glibcs.py.

2017-11-15  Joseph Myers  <joseph@codesourcery.com>

	* sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
	macro.
Szabolcs Nagy - Nov. 17, 2017, 10:46 a.m.
On 15/11/17 22:59, Joseph Myers wrote:
> This patch adds the HWCAP_DCPOP macro from Linux 4.14 to the AArch64
> bits/hwcap.h.
> 
> Tested (compilation only) for aarch64 with build-many-glibcs.py.
> 
> 2017-11-15  Joseph Myers  <joseph@codesourcery.com>
> 
> 	* sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
> 	macro.

OK.

Patch

diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
index 1de7820..e46bb69 100644
--- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
+++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
@@ -37,3 +37,4 @@ 
 #define HWCAP_JSCVT		(1 << 13)
 #define HWCAP_FCMA		(1 << 14)
 #define HWCAP_LRCPC		(1 << 15)
+#define HWCAP_DCPOP		(1 << 16)