diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2022-07-12 12:29:10 -0700 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2022-07-13 14:55:31 -0700 |
commit | 7c8ca1789393323541719df4b636e4853284ff47 (patch) | |
tree | e58433ee831114a8375a6a4c2df16d1ae0a0a687 /sysdeps/x86/tst-strncmp-rtm.c | |
parent | 42b014dd1b92b4cd0afbff901a82d8b0a82d36a8 (diff) | |
download | glibc-7c8ca1789393323541719df4b636e4853284ff47.tar.gz glibc-7c8ca1789393323541719df4b636e4853284ff47.tar.xz glibc-7c8ca1789393323541719df4b636e4853284ff47.zip |
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/tst-strncmp-rtm.c')
-rw-r--r-- | sysdeps/x86/tst-strncmp-rtm.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/x86/tst-strncmp-rtm.c b/sysdeps/x86/tst-strncmp-rtm.c index a3b14e72ff..2d27b20a68 100644 --- a/sysdeps/x86/tst-strncmp-rtm.c +++ b/sysdeps/x86/tst-strncmp-rtm.c @@ -27,8 +27,10 @@ #else /* !WIDE */ # define CHAR char # define MEMSET memset -# define STRNCMP strncmp -# define TEST_NAME "strncmp" +# ifndef STRNCMP +# define STRNCMP strncmp +# define TEST_NAME "strncmp" +# endif #endif /* !WIDE */ |