aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86/dl-hwcap.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86/dl-hwcap.h')
-rw-r--r--sysdeps/x86/dl-hwcap.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/sysdeps/x86/dl-hwcap.h b/sysdeps/x86/dl-hwcap.h
index e14e755..246fdcd 100644
--- a/sysdeps/x86/dl-hwcap.h
+++ b/sysdeps/x86/dl-hwcap.h
@@ -20,20 +20,14 @@
#if IS_IN (ldconfig)
/* Since ldconfig processes both i386 and x86-64 libraries, it needs
- to cover all platforms and hardware capabilities. */
-# define HWCAP_PLATFORMS_START 0
-# define HWCAP_PLATFORMS_COUNT 4
+ to cover all hardware capabilities. */
# define HWCAP_IMPORTANT \
(HWCAP_X86_SSE2 | HWCAP_X86_64 | HWCAP_X86_AVX512_1)
#elif defined __x86_64__
-/* For 64 bit, only cover x86-64 platforms and capabilities. */
-# define HWCAP_PLATFORMS_START 2
-# define HWCAP_PLATFORMS_COUNT 4
+/* For 64 bit, only cover x86-64 capabilities. */
# define HWCAP_IMPORTANT (HWCAP_X86_64 | HWCAP_X86_AVX512_1)
#else
/* For 32 bit, only cover i586, i686 and SSE2. */
-# define HWCAP_PLATFORMS_START 0
-# define HWCAP_PLATFORMS_COUNT 2
# define HWCAP_IMPORTANT (HWCAP_X86_SSE2)
#endif