gcc/libcpp
Richard Henderson 246a2fcb5e Vectorize fast path of _cpp_clean_line.
* configure.ac (AC_C_BIGENDIAN, AC_TYPE_UINTPTR_T): New tests.
	(ssize_t): Check via AC_TYPE_SSIZE_T instead of AC_CHECK_TYPE.
	(ptrdiff_t): Check via AC_CHECK_TYPE.
	* config.in, configure: Rebuild.
	* system.h: Include stdint.h, if available.
	* lex.c (WORDS_BIGENDIAN): Provide default.
	(acc_char_mask_misalign, acc_char_replicate, acc_char_cmp,
	acc_char_index, search_line_acc_char, repl_chars, search_line_mmx,
	search_line_sse2, search_line_sse42, init_vectorized_lexer,
	search_line_fast): New.
	(_cpp_clean_line): Use search_line_fast.  Restructure the fast
	loop to make it clear when we're leaving the loop.  Stay in the
	fast loop for non-trigraph '?'.

Co-Authored-By: Andi Kleen <ak@linux.intel.com>
Co-Authored-By: David S. Miller <davem@davemloft.net>

From-SVN: r163446
2010-08-21 12:05:40 -07:00
..
include cpplib.h (struct cpp_callbacks): Add user_builtin_macro callback. 2010-06-11 20:37:34 +02:00
po * fi.po: New. 2010-05-15 02:06:29 +01:00
aclocal.m4 Undo inadvertent commit in rev 160105. 2010-06-01 10:20:24 -04:00
ChangeLog Vectorize fast path of _cpp_clean_line. 2010-08-21 12:05:40 -07:00
charset.c diagnostic.h (diagnostic_override_option_index): New macro to set a diagnostic's option_index. 2010-04-07 17:18:10 +00:00
config.in Vectorize fast path of _cpp_clean_line. 2010-08-21 12:05:40 -07:00
configure Vectorize fast path of _cpp_clean_line. 2010-08-21 12:05:40 -07:00
configure.ac Vectorize fast path of _cpp_clean_line. 2010-08-21 12:05:40 -07:00
directives-only.c
directives.c diagnostic.h (diagnostic_override_option_index): New macro to set a diagnostic's option_index. 2010-04-07 17:18:10 +00:00
errors.c diagnostic.h (diagnostic_override_option_index): New macro to set a diagnostic's option_index. 2010-04-07 17:18:10 +00:00
expr.c diagnostic.h (diagnostic_override_option_index): New macro to set a diagnostic's option_index. 2010-04-07 17:18:10 +00:00
files.c re PR preprocessor/43195 (#pragma once and -H) 2010-04-09 16:08:42 +00:00
identifiers.c
init.c common.opt (fshow-column): Don't mark as C ObjC C++ ObjC++. 2010-06-10 16:10:11 +01:00
internal.h More N3077 raw string changes 2010-03-29 16:07:29 -04:00
lex.c Vectorize fast path of _cpp_clean_line. 2010-08-21 12:05:40 -07:00
line-map.c re PR preprocessor/41543 (BUILTINS_LOCATION wrong with -fpreprocessed) 2009-10-14 12:04:22 +02:00
macro.c cpplib.h (struct cpp_callbacks): Add user_builtin_macro callback. 2010-06-11 20:37:34 +02:00
Makefile.in diagnostic.h (diagnostic_override_option_index): New macro to set a diagnostic's option_index. 2010-04-07 17:18:10 +00:00
makeucnid.c
mkdeps.c
pch.c cpplib.h (struct cpp_callbacks): Add user_builtin_macro callback. 2010-06-11 20:37:34 +02:00
symtab.c
system.h Vectorize fast path of _cpp_clean_line. 2010-08-21 12:05:40 -07:00
traditional.c
ucnid.h
ucnid.tab