mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 02:44:18 +08:00
20a5b48249
Since the characters we are searching for (CR, LF, '\', '?') all have distinct ASCII codes mod 16, PSHUFB can help match them all at once. Directly use the new helper if __SSSE3__ is defined. It makes the other helpers unused, so mark them inline to prevent warnings. Rewrite and simplify init_vectorized_lexer. libcpp/ChangeLog: * config.in: Regenerate. * configure: Regenerate. * configure.ac: Check for SSSE3 instead of SSE4.2. * files.cc (read_file_guts): Bump padding to 64 if HAVE_SSSE3. * lex.cc (search_line_acc_char): Mark inline, not "unused". (search_line_sse2): Mark inline. (search_line_sse42): Replace with... (search_line_ssse3): ... this new function. Adjust the use... (init_vectorized_lexer): ... here. Simplify.
393 lines
11 KiB
Plaintext
393 lines
11 KiB
Plaintext
/* config.in. Generated from configure.ac by autoheader. */
|
|
|
|
/* Define if building universal (internal helper macro) */
|
|
#undef AC_APPLE_UNIVERSAL_BUILD
|
|
|
|
/* Define to 1 if you want more run-time sanity checks. */
|
|
#undef CHECKING_P
|
|
|
|
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
|
|
systems. This function is required for `alloca.c' support on those systems.
|
|
*/
|
|
#undef CRAY_STACKSEG_END
|
|
|
|
/* Define to 1 if using `alloca.c'. */
|
|
#undef C_ALLOCA
|
|
|
|
/* Define if you want assertions enabled. This is a cheap check. */
|
|
#undef ENABLE_ASSERT_CHECKING
|
|
|
|
/* Define to enable system headers canonicalization. */
|
|
#undef ENABLE_CANONICAL_SYSTEM_HEADERS
|
|
|
|
/* Define to 1 if translation of program messages to the user's native
|
|
language is requested. */
|
|
#undef ENABLE_NLS
|
|
|
|
/* Define if you want to workaround Valgrind warnings about possible memory
|
|
leaks because of libcpp use of interior pointers. */
|
|
#undef ENABLE_VALGRIND_WORKAROUNDS
|
|
|
|
/* Define to 1 if you have `alloca', as a function or macro. */
|
|
#undef HAVE_ALLOCA
|
|
|
|
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
|
*/
|
|
#undef HAVE_ALLOCA_H
|
|
|
|
/* Define to 1 if you have the Mac OS X function
|
|
CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */
|
|
#undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES
|
|
|
|
/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
|
|
the CoreFoundation framework. */
|
|
#undef HAVE_CFPREFERENCESCOPYAPPVALUE
|
|
|
|
/* Define to 1 if you have the `clearerr_unlocked' function. */
|
|
#undef HAVE_CLEARERR_UNLOCKED
|
|
|
|
/* Define if the GNU dcgettext() function is already present or preinstalled.
|
|
*/
|
|
#undef HAVE_DCGETTEXT
|
|
|
|
/* Define to 1 if you have the declaration of `abort', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_ABORT
|
|
|
|
/* Define to 1 if you have the declaration of `asprintf', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_ASPRINTF
|
|
|
|
/* Define to 1 if you have the declaration of `basename(char *)', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_BASENAME
|
|
|
|
/* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_CLEARERR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `errno', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_ERRNO
|
|
|
|
/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_FEOF_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FERROR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FFLUSH_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fgetc_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FGETC_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FGETS_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fileno_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FILENO_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fprintf_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FPRINTF_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FPUTC_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FPUTS_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FREAD_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FWRITE_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_GETCHAR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_GETC_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `getopt', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_GETOPT
|
|
|
|
/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_PUTCHAR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_PUTC_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `vasprintf', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_VASPRINTF
|
|
|
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
|
#undef HAVE_FCNTL_H
|
|
|
|
/* Define to 1 if you have the `feof_unlocked' function. */
|
|
#undef HAVE_FEOF_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `ferror_unlocked' function. */
|
|
#undef HAVE_FERROR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fflush_unlocked' function. */
|
|
#undef HAVE_FFLUSH_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fgetc_unlocked' function. */
|
|
#undef HAVE_FGETC_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fgets_unlocked' function. */
|
|
#undef HAVE_FGETS_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fileno_unlocked' function. */
|
|
#undef HAVE_FILENO_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fprintf_unlocked' function. */
|
|
#undef HAVE_FPRINTF_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fputc_unlocked' function. */
|
|
#undef HAVE_FPUTC_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fputs_unlocked' function. */
|
|
#undef HAVE_FPUTS_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fread_unlocked' function. */
|
|
#undef HAVE_FREAD_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fwrite_unlocked' function. */
|
|
#undef HAVE_FWRITE_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `getchar_unlocked' function. */
|
|
#undef HAVE_GETCHAR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `getc_unlocked' function. */
|
|
#undef HAVE_GETC_UNLOCKED
|
|
|
|
/* Define if the GNU gettext() function is already present or preinstalled. */
|
|
#undef HAVE_GETTEXT
|
|
|
|
/* Define if you have the iconv() function and it works. */
|
|
#undef HAVE_ICONV
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#undef HAVE_INTTYPES_H
|
|
|
|
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
|
#undef HAVE_LANGINFO_CODESET
|
|
|
|
/* Define to 1 if you have the <limits.h> header file. */
|
|
#undef HAVE_LIMITS_H
|
|
|
|
/* Define to 1 if you have the <locale.h> header file. */
|
|
#undef HAVE_LOCALE_H
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
#undef HAVE_MEMORY_H
|
|
|
|
/* Define to 1 if libc includes obstacks. */
|
|
#undef HAVE_OBSTACK
|
|
|
|
/* Define to 1 if you have the `putchar_unlocked' function. */
|
|
#undef HAVE_PUTCHAR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `putc_unlocked' function. */
|
|
#undef HAVE_PUTC_UNLOCKED
|
|
|
|
/* Define to 1 if you can assemble SSSE3 insns. */
|
|
#undef HAVE_SSSE3
|
|
|
|
/* Define to 1 if you have the <stddef.h> header file. */
|
|
#undef HAVE_STDDEF_H
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
#undef HAVE_STDINT_H
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
#undef HAVE_STDLIB_H
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
#undef HAVE_STRINGS_H
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
#undef HAVE_STRING_H
|
|
|
|
/* Define to 1 if you have the <sys/file.h> header file. */
|
|
#undef HAVE_SYS_FILE_H
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
/* Define if <sys/types.h> defines \`uchar'. */
|
|
#undef HAVE_UCHAR
|
|
|
|
/* Define to 1 if the system has the type `uintptr_t'. */
|
|
#undef HAVE_UINTPTR_T
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
#undef HAVE_UNISTD_H
|
|
|
|
/* Define as const if the declaration of iconv() needs const. */
|
|
#undef ICONV_CONST
|
|
|
|
/* Define to the name of this package. */
|
|
#undef PACKAGE
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
#undef PACKAGE_BUGREPORT
|
|
|
|
/* Define to the full name of this package. */
|
|
#undef PACKAGE_NAME
|
|
|
|
/* Define to the full name and version of this package. */
|
|
#undef PACKAGE_STRING
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
#undef PACKAGE_TARNAME
|
|
|
|
/* Define to the home page for this package. */
|
|
#undef PACKAGE_URL
|
|
|
|
/* Define to the version of this package. */
|
|
#undef PACKAGE_VERSION
|
|
|
|
/* The size of `dev_t', as computed by sizeof. */
|
|
#undef SIZEOF_DEV_T
|
|
|
|
/* The size of `ino_t', as computed by sizeof. */
|
|
#undef SIZEOF_INO_T
|
|
|
|
/* The size of `int', as computed by sizeof. */
|
|
#undef SIZEOF_INT
|
|
|
|
/* The size of `long', as computed by sizeof. */
|
|
#undef SIZEOF_LONG
|
|
|
|
/* If using the C implementation of alloca, define if you know the
|
|
direction of stack growth for your system; otherwise it will be
|
|
automatically deduced at runtime.
|
|
STACK_DIRECTION > 0 => grows toward higher addresses
|
|
STACK_DIRECTION < 0 => grows toward lower addresses
|
|
STACK_DIRECTION = 0 => direction of growth unknown */
|
|
#undef STACK_DIRECTION
|
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
#undef STDC_HEADERS
|
|
|
|
/* Define if you can safely include both <string.h> and <strings.h>. */
|
|
#undef STRING_WITH_STRINGS
|
|
|
|
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
|
#undef TIME_WITH_SYS_TIME
|
|
|
|
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
|
#undef TM_IN_SYS_TIME
|
|
|
|
/* Enable extensions on AIX 3, Interix. */
|
|
#ifndef _ALL_SOURCE
|
|
# undef _ALL_SOURCE
|
|
#endif
|
|
/* Enable GNU extensions on systems that have them. */
|
|
#ifndef _GNU_SOURCE
|
|
# undef _GNU_SOURCE
|
|
#endif
|
|
/* Enable threading extensions on Solaris. */
|
|
#ifndef _POSIX_PTHREAD_SEMANTICS
|
|
# undef _POSIX_PTHREAD_SEMANTICS
|
|
#endif
|
|
/* Enable extensions on HP NonStop. */
|
|
#ifndef _TANDEM_SOURCE
|
|
# undef _TANDEM_SOURCE
|
|
#endif
|
|
/* Enable general extensions on Solaris. */
|
|
#ifndef __EXTENSIONS__
|
|
# undef __EXTENSIONS__
|
|
#endif
|
|
|
|
|
|
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
|
significant byte first (like Motorola and SPARC, unlike Intel). */
|
|
#if defined AC_APPLE_UNIVERSAL_BUILD
|
|
# if defined __BIG_ENDIAN__
|
|
# define WORDS_BIGENDIAN 1
|
|
# endif
|
|
#else
|
|
# ifndef WORDS_BIGENDIAN
|
|
# undef WORDS_BIGENDIAN
|
|
# endif
|
|
#endif
|
|
|
|
/* Enable large inode numbers on Mac OS X 10.5. */
|
|
#ifndef _DARWIN_USE_64_BIT_INODE
|
|
# define _DARWIN_USE_64_BIT_INODE 1
|
|
#endif
|
|
|
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
|
#undef _FILE_OFFSET_BITS
|
|
|
|
/* Define for large files, on AIX-style hosts. */
|
|
#undef _LARGE_FILES
|
|
|
|
/* Define to 1 if on MINIX. */
|
|
#undef _MINIX
|
|
|
|
/* Define to 2 if the system does not provide POSIX.1 features except with
|
|
this defined. */
|
|
#undef _POSIX_1_SOURCE
|
|
|
|
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
|
#undef _POSIX_SOURCE
|
|
|
|
/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
|
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
|
#define below would cause a syntax error. */
|
|
#undef _UINT64_T
|
|
|
|
/* Define to empty if `const' does not conform to ANSI C. */
|
|
#undef const
|
|
|
|
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
|
calls it, or to nothing if 'inline' is not supported under any name. */
|
|
#ifndef __cplusplus
|
|
#undef inline
|
|
#endif
|
|
|
|
/* Define to `long int' if <sys/types.h> does not define. */
|
|
#undef off_t
|
|
|
|
/* Define to `int' if <sys/types.h> does not define. */
|
|
#undef ptrdiff_t
|
|
|
|
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
|
#undef size_t
|
|
|
|
/* Define to `int' if <sys/types.h> does not define. */
|
|
#undef ssize_t
|
|
|
|
/* Define to the type of an unsigned integer type of width exactly 64 bits if
|
|
such a type exists and the standard includes do not define it. */
|
|
#undef uint64_t
|
|
|
|
/* Define to the type of an unsigned integer type wide enough to hold a
|
|
pointer, if such a type exists, and if the system does not define it. */
|
|
#undef uintptr_t
|