about summary refs log tree commit diff
path: root/sysdeps/x86
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 /sysdeps/x86
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).
Diffstat (limited to 'sysdeps/x86')
-rw-r--r--sysdeps/x86/cpu-features.h2
1 files changed, 1 insertions, 1 deletions
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)