aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndřej Bílka <neleai@seznam.cz>2013-11-26 12:48:33 +0100
committerOndřej Bílka <neleai@seznam.cz>2013-11-26 12:48:33 +0100
commit826fa8558085aacb39ab216c0a121ffe66d7439e (patch)
treef8d0f366cb2f18717c5433b545f2e88420e65436
parentab260039a8af93970d2212cd2771e207fbd24390 (diff)
downloadglibc-826fa8558085aacb39ab216c0a121ffe66d7439e.tar.xz
glibc-826fa8558085aacb39ab216c0a121ffe66d7439e.zip
Remove duplicate ifunc benchtests.
-rw-r--r--benchtests/Makefile3
-rw-r--r--benchtests/bench-bcopy-ifunc.c20
-rw-r--r--benchtests/bench-bzero-ifunc.c20
-rw-r--r--benchtests/bench-memccpy-ifunc.c20
-rw-r--r--benchtests/bench-memchr-ifunc.c20
-rw-r--r--benchtests/bench-memcmp-ifunc.c20
-rw-r--r--benchtests/bench-memcpy-ifunc.c20
-rw-r--r--benchtests/bench-memmem-ifunc.c20
-rw-r--r--benchtests/bench-memmove-ifunc.c20
-rw-r--r--benchtests/bench-mempcpy-ifunc.c20
-rw-r--r--benchtests/bench-memrchr-ifunc.c20
-rw-r--r--benchtests/bench-memset-ifunc.c20
-rw-r--r--benchtests/bench-rawmemchr-ifunc.c20
-rw-r--r--benchtests/bench-stpcpy-ifunc.c20
-rw-r--r--benchtests/bench-stpcpy_chk-ifunc.c20
-rw-r--r--benchtests/bench-stpncpy-ifunc.c20
-rw-r--r--benchtests/bench-strcasecmp-ifunc.c20
-rw-r--r--benchtests/bench-strcasestr-ifunc.c20
-rw-r--r--benchtests/bench-strcat-ifunc.c20
-rw-r--r--benchtests/bench-strchr-ifunc.c20
-rw-r--r--benchtests/bench-strchrnul-ifunc.c20
-rw-r--r--benchtests/bench-strcmp-ifunc.c20
-rw-r--r--benchtests/bench-strcpy-ifunc.c20
-rw-r--r--benchtests/bench-strcpy_chk-ifunc.c20
-rw-r--r--benchtests/bench-strcspn-ifunc.c20
-rw-r--r--benchtests/bench-string.h1
-rw-r--r--benchtests/bench-strlen-ifunc.c20
-rw-r--r--benchtests/bench-strncasecmp-ifunc.c20
-rw-r--r--benchtests/bench-strncat-ifunc.c20
-rw-r--r--benchtests/bench-strncmp-ifunc.c20
-rw-r--r--benchtests/bench-strncpy-ifunc.c20
-rw-r--r--benchtests/bench-strnlen-ifunc.c20
-rw-r--r--benchtests/bench-strpbrk-ifunc.c20
-rw-r--r--benchtests/bench-strrchr-ifunc.c20
-rw-r--r--benchtests/bench-strspn-ifunc.c20
-rw-r--r--benchtests/bench-strstr-ifunc.c20
36 files changed, 2 insertions, 682 deletions
diff --git a/benchtests/Makefile b/benchtests/Makefile
index 5c92760f87..0820d2060d 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -29,8 +29,7 @@ string-bench := bcopy bzero memccpy memchr memcmp memcpy memmem memmove \
strcat strchr strchrnul strcmp strcpy strcspn strlen \
strncasecmp strncat strncmp strncpy strnlen strpbrk strrchr \
strspn strstr strcpy_chk stpcpy_chk memrchr strsep
-string-bench-ifunc := $(addsuffix -ifunc, $(string-bench))
-string-bench-all := $(string-bench) $(string-bench-ifunc)
+string-bench-all := $(string-bench)
stdlib-bench := strtod
diff --git a/benchtests/bench-bcopy-ifunc.c b/benchtests/bench-bcopy-ifunc.c
deleted file mode 100644
index 66020e9387..0000000000
--- a/benchtests/bench-bcopy-ifunc.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Measure IFUNC implementations of bcopy function.
- Copyright (C) 2013 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
-
-#define TEST_IFUNC 1
-#include "bench-bcopy.c"
diff --git a/benchtests/bench-bzero-ifunc.c b/benchtests/bench-bzero-ifunc.c
deleted file mode 100644
index 84f1354dce..0000000000
--- a/benchtests/bench-bzero-ifunc.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Measure IFUNC implementations of bzero function.
- Copyright (C) 2013 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
-
-#define TEST_IFUNC 1
-#include "bench-bzero.c"
diff --git a/benchtests/bench-memccpy-ifunc.c b/benchtests/bench-memccpy-ifunc.c
deleted file mode 100644
index b61050f8b7..0000000000
--- a/benchtests/bench-memccpy-ifunc.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Measure IFUNC implementations of memccpy function.
- Copyright (C) 2013 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
-
-#define TEST_IFUNC 1
-#include "bench-memccpy.c"
diff --git a/benchtests/bench-memchr-ifunc.c b/benchtests/bench-memchr-ifunc.c
deleted file mode 100644
index dd2c39f22f..0000000000
--- a/benchtests/bench-memchr-ifunc.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Measure IFUNC implementations of memchr function.
- Copyright (C) 2013 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
-
-#define TEST_IFUNC 1
-#include "bench-memchr.c"
diff --git a/benchtests/bench-memcmp-ifunc.c b/benchtests/bench-memcmp-ifunc.c
deleted file mode 100644
index 44671641fa..0000000000
--- a/benchtests/bench-memcmp-ifunc.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Measure IFUNC implementations of memcmp function.
- Copyright (C) 2013 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
-
-#define TEST_IFUNC 1
-#include "bench-memcmp.c"
diff --git a/benchtests/bench-memcpy-ifunc.c b/benchtests/bench-memcpy-ifunc.c
deleted file mode 100644
index b5a89f723d..0000000000
--- a/benchtests/bench-memcpy-ifunc.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Measure IFUNC implementations of memcpy function.
- Copyright (C) 2013 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
-
-#define TEST_IFUNC 1
-#include "bench-memcpy.c"
diff --git a/benchtests/bench-memmem-ifunc.c b/benchtests/bench-memmem-ifunc.c
deleted file mode 100644
index 6b951d8084..0000000000
--- a/benchtests/bench-memmem-ifunc.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Measure IFUNC implementations of memmem function.
- Copyright (C) 2013 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
-
-#define TEST_IFUNC 1
-#include "bench-memmem.c"
diff --git a/benchtests/bench-memmove-ifunc.c b/benchtests/bench-memmove-ifunc.c
deleted file mode 100644
index 345e594331..0000000000
--- a/benchtests/bench-memmove-ifunc.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Measure IFUNC implementations of memmove function.
- Copyright (C) 2013 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
-
-#define TEST_IFUNC 1
-#include "bench-memmove.c"
diff --git a/benchtests/bench-mempcpy-ifunc.c b/benchtests/bench-mempcpy-ifunc.c
deleted file mode 100644
index 4fa93e0722..0000000000
--- a/benchtests/bench-mempcpy-ifunc.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Measure IFUNC implementations of mempcpy function.
- Copyright (C) 2013 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
-
-#define TEST_IFUNC 1
-#include "bench-mempcpy.c"
diff --git a/benchtests/bench-memrchr-ifunc.c b/benchtests/bench-memrchr-ifunc.c
deleted file mode 100644
index fff8f018d9..0000000000
--- a/benchtests/bench-memrchr-ifunc.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Measure IFUNC implementations of memrchr function.
- Copyright (C) 2013 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
-
-#define TEST_IFUNC 1
-#include "bench-memrchr.c"
diff --git a/benchtests/bench-memset-ifunc.c b/benchtests/bench-memset-ifunc.c
deleted file mode 100644
index 1d43eef3c9..0000000000
--- a/benchtests/bench-memset-ifunc.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Measure IFUNC implementations of memset function.
- Copyright (C) 2013 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
-
-#define TEST_IFUNC 1
-#include "bench-memset.c"
diff --git a/benchtests/bench-rawmemchr-ifunc.c b/benchtests/bench-rawmemchr-ifunc.c
deleted file mode 100644
index b1e86f1f2f..0000000000
--- a/benchtests/bench-rawmemchr-ifunc.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Measure IFUNC implementations of rawmemchr function.
- Copyright (C) 2013 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
-
-#define TEST_IFUNC 1
-#include "bench-rawmemchr.c"
diff --git a/benchtests/bench-stpcpy-ifunc.c b/benchtests/bench-stpcpy-ifunc.c
deleted file mode 100644
index d36bcb2c06..0000000000
--- a/benchtests/bench-stpcpy-ifunc.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Measure IFUNC implementations of stpcpy function.
- Copyright (C) 2013 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
-
-#define TEST_IFUNC 1
-#include "bench-stpcpy.c"
diff --git a/benchtests/bench-stpcpy_chk-ifunc.c b/benchtests/bench-stpcpy_chk-ifunc.c
deleted file mode 100644
index 3449615bfe..0000000000
--- a/benchtests/bench-stpcpy_chk-ifunc.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Measure IFUNC implementations of stpcpy checking function.
- Copyright (C) 2013 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS