This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[committed, PATCH] X86: Change bit_YMM_state to (1 << 2)
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 19 Aug 2016 13:31:21 -0700
- Subject: [committed, PATCH] X86: Change bit_YMM_state to (1 << 2)
- Authentication-results: sourceware.org; auth=none
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
All other state bits, except for bit_YMM_state, are defined as (1 << N).
This patch changes bit_YMM_state from (2 << 1) to (1 << 2).
I am checking it in.
H.J.
---
* sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
---
sysdeps/x86/cpu-features.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sysdeps/x86/cpu-features.h b/sysdeps/x86/cpu-features.h
index 97ffe76..e891036 100644
--- a/sysdeps/x86/cpu-features.h
+++ b/sysdeps/x86/cpu-features.h
@@ -63,7 +63,7 @@
/* XCR0 Feature flags. */
#define bit_XMM_state (1 << 1)
-#define bit_YMM_state (2 << 1)
+#define bit_YMM_state (1 << 2)
#define bit_Opmask_state (1 << 5)
#define bit_ZMM0_15_state (1 << 6)
#define bit_ZMM16_31_state (1 << 7)
--
2.7.4