about summary refs log tree commit diff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-08-19 13:32:21 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-08-19 13:32:34 -0700
commita6f20b6763c972c05c497c6028d412d6d1717971 (patch)
treefc505d4622abebec9ed1e21d279814a6be27a72d
parent4482ff226e4b286ab171f3c5841ae1f7e61780cd (diff)
downloadglibc-a6f20b6763c972c05c497c6028d412d6d1717971.tar.gz
glibc-a6f20b6763c972c05c497c6028d412d6d1717971.tar.xz
glibc-a6f20b6763c972c05c497c6028d412d6d1717971.zip
X86: Change bit_YMM_state to (1 << 2)
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).

	* sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/x86/cpu-features.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0b4b5c023a..64c4701a88 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
+
 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
 
 	* sysdeps/ieee754/ldbl-128/gamma_productl.c:
diff --git a/sysdeps/x86/cpu-features.h b/sysdeps/x86/cpu-features.h
index 97ffe765f4..e8910360de 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)