public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] <bits/platform/x86.h>: Rename to x86_cpu_INDEX_7_ECX_15
@ 2023-04-05 22:43 H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2023-04-05 22:43 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2d8c590a5e9bfe1344b638c897c7d731365cfaca

commit 2d8c590a5e9bfe1344b638c897c7d731365cfaca
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Apr 5 09:21:26 2023 -0700

    <bits/platform/x86.h>: Rename to x86_cpu_INDEX_7_ECX_15
    
    Rename x86_cpu_INDEX_7_ECX_1 to x86_cpu_INDEX_7_ECX_15 for the unused bit
    15 in ECX from CPUID with EAX == 0x7 and ECX == 0.
    Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>

Diff:
---
 sysdeps/x86/bits/platform/x86.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/x86/bits/platform/x86.h b/sysdeps/x86/bits/platform/x86.h
index 25a970b185..1ed24d7024 100644
--- a/sysdeps/x86/bits/platform/x86.h
+++ b/sysdeps/x86/bits/platform/x86.h
@@ -181,7 +181,7 @@ enum
   x86_cpu_AVX512_BITALG		= x86_cpu_index_7_ecx + 12,
   x86_cpu_INDEX_7_ECX_13	= x86_cpu_index_7_ecx + 13,
   x86_cpu_AVX512_VPOPCNTDQ	= x86_cpu_index_7_ecx + 14,
-  x86_cpu_INDEX_7_ECX_1		= x86_cpu_index_7_ecx + 15,
+  x86_cpu_INDEX_7_ECX_15	= x86_cpu_index_7_ecx + 15,
   x86_cpu_INDEX_7_ECX_16	= x86_cpu_index_7_ecx + 16,
 /* Note: Bits 17-21: The value of MAWAU used by the BNDLDX and BNDSTX
    instructions in 64-bit mode.  */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-05 22:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-05 22:43 [glibc] <bits/platform/x86.h>: Rename to x86_cpu_INDEX_7_ECX_15 H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).