aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86/Makefile
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2022-07-12 12:29:10 -0700
committerNoah Goldstein <goldstein.w.n@gmail.com>2022-07-13 14:55:31 -0700
commit7c8ca1789393323541719df4b636e4853284ff47 (patch)
treee58433ee831114a8375a6a4c2df16d1ae0a0a687 /sysdeps/x86/Makefile
parent42b014dd1b92b4cd0afbff901a82d8b0a82d36a8 (diff)
downloadglibc-7c8ca1789393323541719df4b636e4853284ff47.zip
glibc-7c8ca1789393323541719df4b636e4853284ff47.tar.gz
glibc-7c8ca1789393323541719df4b636e4853284ff47.tar.bz2
x86: Add missing rtm tests for strcmp family
Add new tests for: strcasecmp strncasecmp strcmp wcscmp These functions all have avx2_rtm implementations so should be tested.
Diffstat (limited to 'sysdeps/x86/Makefile')
-rw-r--r--sysdeps/x86/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/x86/Makefile b/sysdeps/x86/Makefile
index c6bee98..56fd5fc 100644
--- a/sysdeps/x86/Makefile
+++ b/sysdeps/x86/Makefile
@@ -95,11 +95,15 @@ tests += \
tst-memmove-rtm \
tst-memrchr-rtm \
tst-memset-rtm \
+ tst-strcasecmp-rtm \
tst-strchr-rtm \
+ tst-strcmp-rtm \
tst-strcpy-rtm \
tst-strlen-rtm \
+ tst-strncasecmp-rtm \
tst-strncmp-rtm \
tst-strrchr-rtm \
+ tst-wcscmp-rtm \
tst-wcsncmp-rtm \
# tests
@@ -108,11 +112,15 @@ CFLAGS-tst-memcmp-rtm.c += -mrtm
CFLAGS-tst-memmove-rtm.c += -mrtm
CFLAGS-tst-memrchr-rtm.c += -mrtm
CFLAGS-tst-memset-rtm.c += -mrtm
+CFLAGS-tst-strcasecmp-rtm.c += -mrtm
CFLAGS-tst-strchr-rtm.c += -mrtm
+CFLAGS-tst-strcmp-rtm.c += -mrtm
CFLAGS-tst-strcpy-rtm.c += -mrtm
CFLAGS-tst-strlen-rtm.c += -mrtm
+CFLAGS-tst-strncasecmp-rtm.c += -mrtm -Wno-error
CFLAGS-tst-strncmp-rtm.c += -mrtm -Wno-error
CFLAGS-tst-strrchr-rtm.c += -mrtm
+CFLAGS-tst-wcscmp-rtm.c += -mrtm
CFLAGS-tst-wcsncmp-rtm.c += -mrtm -Wno-error
endif