|
Packit Service |
0e4e72 |
/* memcmp variant information on S/390 version.
|
|
Packit Service |
0e4e72 |
Copyright (C) 2018 Free Software Foundation, Inc.
|
|
Packit Service |
0e4e72 |
This file is part of the GNU C Library.
|
|
Packit Service |
0e4e72 |
|
|
Packit Service |
0e4e72 |
The GNU C Library is free software; you can redistribute it and/or
|
|
Packit Service |
0e4e72 |
modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
0e4e72 |
License as published by the Free Software Foundation; either
|
|
Packit Service |
0e4e72 |
version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
0e4e72 |
|
|
Packit Service |
0e4e72 |
The GNU C Library is distributed in the hope that it will be useful,
|
|
Packit Service |
0e4e72 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
0e4e72 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
0e4e72 |
Lesser General Public License for more details.
|
|
Packit Service |
0e4e72 |
|
|
Packit Service |
0e4e72 |
You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
0e4e72 |
License along with the GNU C Library; if not, see
|
|
Packit Service |
0e4e72 |
<http://www.gnu.org/licenses/>. */
|
|
Packit Service |
0e4e72 |
|
|
Packit Service |
0e4e72 |
#if defined USE_MULTIARCH && IS_IN (libc) \
|
|
Packit Service |
0e4e72 |
&& ! defined HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT
|
|
Packit Service |
0e4e72 |
# define HAVE_MEMCMP_IFUNC 1
|
|
Packit Service |
0e4e72 |
#else
|
|
Packit Service |
0e4e72 |
# define HAVE_MEMCMP_IFUNC 0
|
|
Packit Service |
0e4e72 |
#endif
|
|
Packit Service |
0e4e72 |
|
|
Packit Service |
0e4e72 |
#if defined HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT
|
|
Packit Service |
0e4e72 |
# define MEMCMP_DEFAULT MEMCMP_Z196
|
|
Packit Service |
0e4e72 |
# define HAVE_MEMCMP_Z900_G5 0
|
|
Packit Service |
0e4e72 |
# define HAVE_MEMCMP_Z10 0
|
|
Packit Service |
0e4e72 |
# define HAVE_MEMCMP_Z196 1
|
|
Packit Service |
0e4e72 |
#elif defined HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT
|
|
Packit Service |
0e4e72 |
# define MEMCMP_DEFAULT MEMCMP_Z10
|
|
Packit Service |
0e4e72 |
# define HAVE_MEMCMP_Z900_G5 0
|
|
Packit Service |
0e4e72 |
# define HAVE_MEMCMP_Z10 1
|
|
Packit Service |
0e4e72 |
# define HAVE_MEMCMP_Z196 HAVE_MEMCMP_IFUNC
|
|
Packit Service |
0e4e72 |
#else
|
|
Packit Service |
0e4e72 |
# define MEMCMP_DEFAULT MEMCMP_Z900_G5
|
|
Packit Service |
0e4e72 |
# define HAVE_MEMCMP_Z900_G5 1
|
|
Packit Service |
0e4e72 |
# define HAVE_MEMCMP_Z10 HAVE_MEMCMP_IFUNC
|
|
Packit Service |
0e4e72 |
# define HAVE_MEMCMP_Z196 HAVE_MEMCMP_IFUNC
|
|
Packit Service |
0e4e72 |
#endif
|
|
Packit Service |
0e4e72 |
|
|
Packit Service |
0e4e72 |
#if HAVE_MEMCMP_Z900_G5
|
|
Packit Service |
0e4e72 |
# define MEMCMP_Z900_G5 __memcmp_default
|
|
Packit Service |
0e4e72 |
#else
|
|
Packit Service |
0e4e72 |
# define MEMCMP_Z900_G5 NULL
|
|
Packit Service |
0e4e72 |
#endif
|
|
Packit Service |
0e4e72 |
|
|
Packit Service |
0e4e72 |
#if HAVE_MEMCMP_Z10
|
|
Packit Service |
0e4e72 |
# define MEMCMP_Z10 __memcmp_z10
|
|
Packit Service |
0e4e72 |
#else
|
|
Packit Service |
0e4e72 |
# define MEMCMP_Z10 NULL
|
|
Packit Service |
0e4e72 |
#endif
|
|
Packit Service |
0e4e72 |
|
|
Packit Service |
0e4e72 |
#if HAVE_MEMCMP_Z196
|
|
Packit Service |
0e4e72 |
# define MEMCMP_Z196 __memcmp_z196
|
|
Packit Service |
0e4e72 |
#else
|
|
Packit Service |
0e4e72 |
# define MEMCMP_Z196 NULL
|
|
Packit Service |
0e4e72 |
#endif
|