glibc/sysdeps/powerpc/locale-defines.sym
Rajalakshmi Srinivasaraghavan e413b14e18 powerpc: strcasestr optmization for power8
This patch optimizes strcasestr function for power >= 8 systems.  The average
improvement of this optimization is ~40% and compares 16 bytes at a time
using vector instructions.  This patch is tested on powerpc64 and powerpc64le.
2016-04-22 19:23:13 +05:30

10 lines
327 B
Plaintext

#include <locale/localeinfo.h>
--
LOCALE_CTYPE_TOLOWER offsetof (struct __locale_struct, __ctype_tolower)
LOCALE_CTYPE_TOUPPER offsetof (struct __locale_struct, __ctype_toupper)
_NL_CTYPE_NONASCII_CASE
LOCALE_DATA_VALUES offsetof (struct __locale_data, values)
SIZEOF_VALUES sizeof (((struct __locale_data *) 0)->values[0])