2 gen-as-const-headers
+= cpu-features-offsets.sym features-offsets.sym
6 sysdep_routines
+= get-cpuid-feature-leaf
7 sysdep-dl-routines
+= dl-get-cpu-features
9 bits
/platform
/features.h \
14 CFLAGS-dl-get-cpu-features.os
+= $(rtld-early-cflags
)
15 CFLAGS-get-cpuid-feature-leaf.o
+= $(no-stack-protector
)
18 tst-cpu-features-cpuinfo \
19 tst-cpu-features-cpuinfo-static \
20 tst-cpu-features-supports \
21 tst-cpu-features-supports-static \
22 tst-get-cpu-features \
23 tst-get-cpu-features-static \
27 tst-cpu-features-cpuinfo-static \
28 tst-cpu-features-supports-static \
29 tst-get-cpu-features-static \
31 ifeq (yes
,$(have-ifunc
))
32 ifeq (yes
,$(have-gcc-ifunc
))
35 tst-ifunc-isa-1-static \
38 tst-ifunc-isa-1-static \
40 test-xfail-tst-ifunc-isa-1
= $(with-lld
)
41 test-xfail-tst-ifunc-isa-1-static
= $(with-lld
)
44 tst-ifunc-isa-2-static \
47 tst-ifunc-isa-2-static \
49 test-xfail-tst-ifunc-isa-2
= $(with-lld
)
50 test-xfail-tst-ifunc-isa-2-static
= $(with-lld
)
53 ifeq (yes
,$(enable-x86-isa-level
))
58 tst-isa-level-mod-1-baseline \
59 tst-isa-level-mod-1-v2 \
60 tst-isa-level-mod-1-v3 \
61 tst-isa-level-mod-1-v4 \
64 # X86 ISA level baseline
65 CFLAGS-tst-isa-level-mod-1-baseline.c
+= -DINCLUDE_X86_ISA_LEVEL \
69 CFLAGS-tst-isa-level-mod-1-v2.c
+= -DINCLUDE_X86_ISA_LEVEL \
73 CFLAGS-tst-isa-level-mod-1-v3.c
+= -DINCLUDE_X86_ISA_LEVEL \
77 CFLAGS-tst-isa-level-mod-1-v4.c
+= -DINCLUDE_X86_ISA_LEVEL \
81 $(objpfx
)tst-isa-level-1.out
: $(objpfx
)tst-isa-level-mod-1-baseline.so \
82 $(objpfx
)tst-isa-level-mod-1-v2.so \
83 $(objpfx
)tst-isa-level-mod-1-v3.so \
84 $(objpfx
)tst-isa-level-mod-1-v4.so
86 tst-ifunc-isa-2-ENV
= GLIBC_TUNABLES
=glibc.cpu.hwcaps
=-SSE4_2
,-AVX
,-AVX2
,-AVX512F
87 tst-ifunc-isa-2-static-ENV
= $(tst-ifunc-isa-2-ENV
)
88 tst-hwcap-tunables-ARGS
= -- $(host-test-program-cmd
)
90 CFLAGS-tst-gnu2-tls2.c
+= -msse
91 CFLAGS-tst-gnu2-tls2mod0.c
+= -msse2
-mtune
=haswell
92 CFLAGS-tst-gnu2-tls2mod1.c
+= -msse2
-mtune
=haswell
93 CFLAGS-tst-gnu2-tls2mod2.c
+= -msse2
-mtune
=haswell
98 tst-ldbl-nonnormal-printf \
100 endif # $(subdir) == math
102 ifeq ($(subdir
),setjmp
)
103 gen-as-const-headers
+= jmp_buf-ssp.sym
104 sysdep_routines
+= __longjmp_cancel
107 ifeq ($(subdir
),string
)
108 sysdep_routines
+= cacheinfo
121 tst-strncasecmp-rtm \
128 CFLAGS-tst-memchr-rtm.c
+= -mrtm
129 CFLAGS-tst-memcmp-rtm.c
+= -mrtm
130 CFLAGS-tst-memmove-rtm.c
+= -mrtm
131 CFLAGS-tst-memrchr-rtm.c
+= -mrtm
132 CFLAGS-tst-memset-rtm.c
+= -mrtm
133 CFLAGS-tst-strcasecmp-rtm.c
+= -mrtm
134 CFLAGS-tst-strchr-rtm.c
+= -mrtm
135 CFLAGS-tst-strcmp-rtm.c
+= -mrtm
136 CFLAGS-tst-strcpy-rtm.c
+= -mrtm
137 CFLAGS-tst-strlen-rtm.c
+= -mrtm
138 CFLAGS-tst-strncasecmp-rtm.c
+= -mrtm
-Wno-error
139 CFLAGS-tst-strncmp-rtm.c
+= -mrtm
-Wno-error
140 CFLAGS-tst-strrchr-rtm.c
+= -mrtm
141 CFLAGS-tst-wcscmp-rtm.c
+= -mrtm
142 CFLAGS-tst-wcsncmp-rtm.c
+= -mrtm
-Wno-error
145 ifeq ($(subdir
),posix
)
147 tst-sysconf-cache-linesize \
148 tst-sysconf-cache-linesize-static \
151 tst-sysconf-cache-linesize-static \