From 826fa8558085aacb39ab216c0a121ffe66d7439e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ond=C5=99ej=20B=C3=ADlka?= Date: Tue, 26 Nov 2013 12:48:33 +0100 Subject: [PATCH] Remove duplicate ifunc benchtests. --- benchtests/Makefile | 3 +-- benchtests/bench-bcopy-ifunc.c | 20 -------------------- benchtests/bench-bzero-ifunc.c | 20 -------------------- benchtests/bench-memccpy-ifunc.c | 20 -------------------- benchtests/bench-memchr-ifunc.c | 20 -------------------- benchtests/bench-memcmp-ifunc.c | 20 -------------------- benchtests/bench-memcpy-ifunc.c | 20 -------------------- benchtests/bench-memmem-ifunc.c | 20 -------------------- benchtests/bench-memmove-ifunc.c | 20 -------------------- benchtests/bench-mempcpy-ifunc.c | 20 -------------------- benchtests/bench-memrchr-ifunc.c | 20 -------------------- benchtests/bench-memset-ifunc.c | 20 -------------------- benchtests/bench-rawmemchr-ifunc.c | 20 -------------------- benchtests/bench-stpcpy-ifunc.c | 20 -------------------- benchtests/bench-stpcpy_chk-ifunc.c | 20 -------------------- benchtests/bench-stpncpy-ifunc.c | 20 -------------------- benchtests/bench-strcasecmp-ifunc.c | 20 -------------------- benchtests/bench-strcasestr-ifunc.c | 20 -------------------- benchtests/bench-strcat-ifunc.c | 20 -------------------- benchtests/bench-strchr-ifunc.c | 20 -------------------- benchtests/bench-strchrnul-ifunc.c | 20 -------------------- benchtests/bench-strcmp-ifunc.c | 20 -------------------- benchtests/bench-strcpy-ifunc.c | 20 -------------------- benchtests/bench-strcpy_chk-ifunc.c | 20 -------------------- benchtests/bench-strcspn-ifunc.c | 20 -------------------- benchtests/bench-string.h | 1 + benchtests/bench-strlen-ifunc.c | 20 -------------------- benchtests/bench-strncasecmp-ifunc.c | 20 -------------------- benchtests/bench-strncat-ifunc.c | 20 -------------------- benchtests/bench-strncmp-ifunc.c | 20 -------------------- benchtests/bench-strncpy-ifunc.c | 20 -------------------- benchtests/bench-strnlen-ifunc.c | 20 -------------------- benchtests/bench-strpbrk-ifunc.c | 20 -------------------- benchtests/bench-strrchr-ifunc.c | 20 -------------------- benchtests/bench-strspn-ifunc.c | 20 -------------------- benchtests/bench-strstr-ifunc.c | 20 -------------------- 36 files changed, 2 insertions(+), 682 deletions(-) delete mode 100644 benchtests/bench-bcopy-ifunc.c delete mode 100644 benchtests/bench-bzero-ifunc.c delete mode 100644 benchtests/bench-memccpy-ifunc.c delete mode 100644 benchtests/bench-memchr-ifunc.c delete mode 100644 benchtests/bench-memcmp-ifunc.c delete mode 100644 benchtests/bench-memcpy-ifunc.c delete mode 100644 benchtests/bench-memmem-ifunc.c delete mode 100644 benchtests/bench-memmove-ifunc.c delete mode 100644 benchtests/bench-mempcpy-ifunc.c delete mode 100644 benchtests/bench-memrchr-ifunc.c delete mode 100644 benchtests/bench-memset-ifunc.c delete mode 100644 benchtests/bench-rawmemchr-ifunc.c delete mode 100644 benchtests/bench-stpcpy-ifunc.c delete mode 100644 benchtests/bench-stpcpy_chk-ifunc.c delete mode 100644 benchtests/bench-stpncpy-ifunc.c delete mode 100644 benchtests/bench-strcasecmp-ifunc.c delete mode 100644 benchtests/bench-strcasestr-ifunc.c delete mode 100644 benchtests/bench-strcat-ifunc.c delete mode 100644 benchtests/bench-strchr-ifunc.c delete mode 100644 benchtests/bench-strchrnul-ifunc.c delete mode 100644 benchtests/bench-strcmp-ifunc.c delete mode 100644 benchtests/bench-strcpy-ifunc.c delete mode 100644 benchtests/bench-strcpy_chk-ifunc.c delete mode 100644 benchtests/bench-strcspn-ifunc.c delete mode 100644 benchtests/bench-strlen-ifunc.c delete mode 100644 benchtests/bench-strncasecmp-ifunc.c delete mode 100644 benchtests/bench-strncat-ifunc.c delete mode 100644 benchtests/bench-strncmp-ifunc.c delete mode 100644 benchtests/bench-strncpy-ifunc.c delete mode 100644 benchtests/bench-strnlen-ifunc.c delete mode 100644 benchtests/bench-strpbrk-ifunc.c delete mode 100644 benchtests/bench-strrchr-ifunc.c delete mode 100644 benchtests/bench-strspn-ifunc.c delete mode 100644 benchtests/bench-strstr-ifunc.c diff --git a/benchtests/Makefile b/benchtests/Makefile index 5c92760..0820d20 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 66020e9..0000000 --- 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 - . */ - -#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 84f1354..0000000 --- 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 - . */ - -#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 b61050f..0000000 --- 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 - . */ - -#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 dd2c39f..0000000 --- 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 - . */ - -#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 4467164..0000000 --- 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 - . */ - -#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 b5a89f7..0000000 --- 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 - . */ - -#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 6b951d8..0000000 --- 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 - . */ - -#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 345e594..0000000 --- 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 - . */ - -#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 4fa93e0..0000000 --- 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 - . */ - -#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 fff8f01..0000000 --- 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 - . */ - -#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 1d43eef..0000000 --- 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 - . */ - -#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 b1e86f1..0000000 --- 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 - . */ - -#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 d36bcb2..0000000 --- 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 - . */ - -#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 3449615b..0000000 --- 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 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 - . */ - -#define TEST_IFUNC 1 -#include "bench-stpcpy_chk.c" diff --git a/benchtests/bench-stpncpy-ifunc.c b/benchtests/bench-stpncpy-ifunc.c deleted file mode 100644 index 736cac0..0000000 --- a/benchtests/bench-stpncpy-ifunc.c +++ /dev/null @@ -1,20 +0,0 @@ -/* Measure IFUNC implementations of stpncpy 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 - . */ - -#define TEST_IFUNC 1 -#include "bench-stpncpy.c" diff --git a/benchtests/bench-strcasecmp-ifunc.c b/benchtests/bench-strcasecmp-ifunc.c deleted file mode 100644 index bdeb8c5..0000000 --- a/benchtests/bench-strcasecmp-ifunc.c +++ /dev/null @@ -1,20 +0,0 @@ -/* Measure IFUNC implementations of strcasecmp 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 - . */ - -#define TEST_IFUNC 1 -#include "bench-strcasecmp.c" diff --git a/benchtests/bench-strcasestr-ifunc.c b/benchtests/bench-strcasestr-ifunc.c deleted file mode 100644 index 645f504..0000000 --- a/benchtests/bench-strcasestr-ifunc.c +++ /dev/null @@ -1,20 +0,0 @@ -/* Measure IFUNC implementations of strcasestr 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 - . */ - -#define TEST_IFUNC 1 -#include "bench-strcasestr.c" diff --git a/benchtests/bench-strcat-ifunc.c b/benchtests/bench-strcat-ifunc.c deleted file mode 100644 index 003dc38..0000000 --- a/benchtests/bench-strcat-ifunc.c +++ /dev/null @@ -1,20 +0,0 @@ -/* Measure IFUNC implementations of strcat 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 - . */ - -#define TEST_IFUNC 1 -#include "bench-strcat.c" diff --git a/benchtests/bench-strchr-ifunc.c b/benchtests/bench-strchr-ifunc.c deleted file mode 100644 index 0ef1398..0000000 --- a/benchtests/bench-strchr-ifunc.c +++ /dev/null @@ -1,20 +0,0 @@ -/* Measure IFUNC implementations of strchr 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 - . */ - -#define TEST_IFUNC 1 -#include "bench-strchr.c" diff --git a/benchtests/bench-strchrnul-ifunc.c b/benchtests/bench-strchrnul-ifunc.c deleted file mode 100644 index 35c7cb1..0000000 --- a/benchtests/bench-strchrnul-ifunc.c +++ /dev/null @@ -1,20 +0,0 @@ -/* Measure IFUNC implementations of strchrnul 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 - . */ - -#define TEST_IFUNC 1 -#include "bench-strchrnul.c" diff --git a/benchtests/bench-strcmp-ifunc.c b/benchtests/bench-strcmp-ifunc.c deleted file mode 100644 index 01a8095..0000000 --- a/benchtests/bench-strcmp-ifunc.c +++ /dev/null @@ -1,20 +0,0 @@ -/* Measure IFUNC implementations of strcmp 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 - . */ - -#define TEST_IFUNC 1 -#include "bench-strcmp.c" diff --git a/benchtests/bench-strcpy-ifunc.c b/benchtests/bench-strcpy-ifunc.c deleted file mode 100644 index d27a4f9..0000000 --- a/benchtests/bench-strcpy-ifunc.c +++ /dev/null @@ -1,20 +0,0 @@ -/* Measure IFUNC implementations of strcpy 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 - . */ - -#define TEST_IFUNC 1 -#include "bench-strcpy.c" diff --git a/benchtests/bench-strcpy_chk-ifunc.c b/benchtests/bench-strcpy_chk-ifunc.c deleted file mode 100644 index 2dd2aa3..0000000 --- a/benchtests/bench-strcpy_chk-ifunc.c +++ /dev/null @@ -1,20 +0,0 @@ -/* Measure IFUNC implementations of strcpy checking function. - Copyright (C) 2012-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 - . */ - -#define TEST_IFUNC 1 -#include "bench-strcpy_chk.c" diff --git a/benchtests/bench-strcspn-ifunc.c b/benchtests/bench-strcspn-ifunc.c deleted file mode 100644 index e257c9b..0000000 --- a/benchtests/bench-strcspn-ifunc.c +++ /dev/null @@ -1,20 +0,0 @@ -/* Measure IFUNC implementations of strcspn 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 - . */ - -#define TEST_IFUNC 1 -#include "bench-strcspn.c" diff --git a/benchtests/bench-string.h b/benchtests/bench-string.h index 53e796a..46b4138 100644 --- a/benchtests/bench-string.h +++ b/benchtests/bench-string.h @@ -17,6 +17,7 @@ . */ #include +#define TEST_IFUNC 1 typedef struct { diff --git a/benchtests/bench-strlen-ifunc.c b/benchtests/bench-strlen-ifunc.c deleted file mode 100644 index fcd4592..0000000 --- a/benchtests/bench-strlen-ifunc.c +++ /dev/null @@ -1,20 +0,0 @@ -/* Measure IFUNC implementations of strlen 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 - . */ - -#define TEST_IFUNC 1 -#include "bench-strlen.c" diff --git a/benchtests/bench-strncasecmp-ifunc.c b/benchtests/bench-strncasecmp-ifunc.c deleted file mode 100644 index df796e2..0000000 --- a/benchtests/bench-strncasecmp-ifunc.c +++ /dev/null @@ -1,20 +0,0 @@ -/* Measure IFUNC implementations of strncasecmp 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 - . */ - -#define TEST_IFUNC 1 -#include "bench-strncasecmp.c" diff --git a/benchtests/bench-strncat-ifunc.c b/benchtests/bench-strncat-ifunc.c deleted file mode 100644 index adcfd22..0000000 --- a/benchtests/bench-strncat-ifunc.c +++ /dev/null @@ -1,20 +0,0 @@ -/* Measure IFUNC implementations of strncat 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 - . */ - -#define TEST_IFUNC 1 -#include "bench-strncat.c" diff --git a/benchtests/bench-strncmp-ifunc.c b/benchtests/bench-strncmp-ifunc.c deleted file mode 100644 index 1cae32b..0000000 --- a/benchtests/bench-strncmp-ifunc.c +++ /dev/null @@ -1,20 +0,0 @@ -/* Measure IFUNC implementations of strncmp 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 - . */ - -#define TEST_IFUNC 1 -#include "bench-strncmp.c" diff --git a/benchtests/bench-strncpy-ifunc.c b/benchtests/bench-strncpy-ifunc.c deleted file mode 100644 index d4eebe6..0000000 --- a/benchtests/bench-strncpy-ifunc.c +++ /dev/null @@ -1,20 +0,0 @@ -/* Measure IFUNC implementations of strncpy 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 - . */ - -#define TEST_IFUNC 1 -#include "bench-strncpy.c" diff --git a/benchtests/bench-strnlen-ifunc.c b/benchtests/bench-strnlen-ifunc.c deleted file mode 100644 index 05563aa..0000000 --- a/benchtests/bench-strnlen-ifunc.c +++ /dev/null @@ -1,20 +0,0 @@ -/* Measure IFUNC implementations of strnlen 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 - . */ - -#define TEST_IFUNC 1 -#include "bench-strnlen.c" diff --git a/benchtests/bench-strpbrk-ifunc.c b/benchtests/bench-strpbrk-ifunc.c deleted file mode 100644 index 38f9881..0000000 --- a/benchtests/bench-strpbrk-ifunc.c +++ /dev/null @@ -1,20 +0,0 @@ -/* Measure IFUNC implementations of strpbrk 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 - . */ - -#define TEST_IFUNC 1 -#include "bench-strpbrk.c" diff --git a/benchtests/bench-strrchr-ifunc.c b/benchtests/bench-strrchr-ifunc.c deleted file mode 100644 index 06283cd..0000000 --- a/benchtests/bench-strrchr-ifunc.c +++ /dev/null @@ -1,20 +0,0 @@ -/* Measure IFUNC implementations of strrchr 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 - . */ - -#define TEST_IFUNC 1 -#include "bench-strrchr.c" diff --git a/benchtests/bench-strspn-ifunc.c b/benchtests/bench-strspn-ifunc.c deleted file mode 100644 index 4040c2f..0000000 --- a/benchtests/bench-strspn-ifunc.c +++ /dev/null @@ -1,20 +0,0 @@ -/* Measure IFUNC implementations of strspn 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 - . */ - -#define TEST_IFUNC 1 -#include "bench-strspn.c" diff --git a/benchtests/bench-strstr-ifunc.c b/benchtests/bench-strstr-ifunc.c deleted file mode 100644 index b187ca5..0000000 --- a/benchtests/bench-strstr-ifunc.c +++ /dev/null @@ -1,20 +0,0 @@ -/* Measure IFUNC implementations of strstr 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 - . */ - -#define TEST_IFUNC 1 -#include "bench-strstr.c" -- 2.7.4