public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] x86: Remove the duplicated CPU_FEATURE_CPU_P
@ 2020-12-24 13:12 H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2020-12-24 13:12 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=45dcd1af092fe441e5f23350ebf6019144eb3ca7

commit 45dcd1af092fe441e5f23350ebf6019144eb3ca7
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Dec 23 18:34:34 2020 -0800

    x86: Remove the duplicated CPU_FEATURE_CPU_P
    
    CPU_FEATURE_CPU_P is defined in sysdeps/x86/sys/platform/x86.h.  Remove
    the duplicated CPU_FEATURE_CPU_P in sysdeps/x86/include/cpu-features.h.

Diff:
---
 sysdeps/x86/include/cpu-features.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sysdeps/x86/include/cpu-features.h b/sysdeps/x86/include/cpu-features.h
index f62be0b9b3..0df57d9a17 100644
--- a/sysdeps/x86/include/cpu-features.h
+++ b/sysdeps/x86/include/cpu-features.h
@@ -57,8 +57,6 @@ enum
      |= ptr->features[index_cpu_##name].cpuid.reg_##name & bit_cpu_##name;
 # define CPU_FEATURE_PREFERRED_P(ptr, name) \
   ((ptr->preferred[index_arch_##name] & bit_arch_##name) != 0)
-# define CPU_FEATURE_CPU_P(ptr, name) \
-  CPU_FEATURE_CHECK_P (ptr, name, cpuid)
 
 /* HAS_CPU_FEATURE evaluates to true if CPU supports the feature.  */
 # undef HAS_CPU_FEATURE


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

only message in thread, other threads:[~2020-12-24 13:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-24 13:12 [glibc] x86: Remove the duplicated CPU_FEATURE_CPU_P 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).