Add HWCAP_ASIMDRDM from Linux 4.11 to AArch64 bits/hwcap.h
diff mbox

Message ID alpine.DEB.2.20.1705022049160.22506@digraph.polyomino.org.uk
State New
Headers show

Commit Message

Joseph Myers May 2, 2017, 8:49 p.m. UTC
This patch adds the HWCAP_ASIMDRDM macro from Linux 4.11 to the
AArch64 bits/hwcap.h.

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

2017-05-02  Joseph Myers  <joseph@codesourcery.com>

	* sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
	New macro.

Comments

Siddhesh Poyarekar May 3, 2017, 3:35 a.m. UTC | #1
On Wednesday 03 May 2017 02:19 AM, Joseph Myers wrote:
> This patch adds the HWCAP_ASIMDRDM macro from Linux 4.11 to the
> AArch64 bits/hwcap.h.
> 
> Tested (compilation only) with build-many-glibcs.py.

Looks OK to me.

Siddhesh

> 2017-05-02  Joseph Myers  <joseph@codesourcery.com>
> 
> 	* sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
> 	New macro.
> 
> diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
> index cef3225..117852d 100644
> --- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
> +++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
> @@ -33,3 +33,4 @@
>  #define HWCAP_FPHP		(1 << 9)
>  #define HWCAP_ASIMDHP		(1 << 10)
>  #define HWCAP_CPUID		(1 << 11)
> +#define HWCAP_ASIMDRDM		(1 << 12)
>

Patch
diff mbox

diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
index cef3225..117852d 100644
--- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
+++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
@@ -33,3 +33,4 @@ 
 #define HWCAP_FPHP		(1 << 9)
 #define HWCAP_ASIMDHP		(1 << 10)
 #define HWCAP_CPUID		(1 << 11)
+#define HWCAP_ASIMDRDM		(1 << 12)