aboutsummaryrefslogtreecommitdiff
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.zip
glibc-a6f20b6763c972c05c497c6028d412d6d1717971.tar.gz
glibc-a6f20b6763c972c05c497c6028d412d6d1717971.tar.bz2
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 0b4b5c0..64c4701 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 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)