diff options
| author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-24 21:08:05 +0000 |
|---|---|---|
| committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-24 21:08:05 +0000 |
| commit | b315ae351ed5ccd7946e1b4cd0f2c0f7805cde55 (patch) | |
| tree | bfa80eeb59c1e4fde073f12dc44c3301e2faed5c /libcpp/configure | |
| parent | 93d3ee56e3a680942f8ed6f975da4edf4688bec6 (diff) | |
| download | ppe42-gcc-b315ae351ed5ccd7946e1b4cd0f2c0f7805cde55.tar.gz ppe42-gcc-b315ae351ed5ccd7946e1b4cd0f2c0f7805cde55.zip | |
PR bootstrap/45376
* configure.ac (HAVE_SSE4): New check.
* configure, config.in: Rebuild.
* lex.c (search_line_sse42): Omit if !HAVE_SSE4.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163528 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/configure')
| -rwxr-xr-x | libcpp/configure | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libcpp/configure b/libcpp/configure index a2ce1c3a70a..012ee41c819 100755 --- a/libcpp/configure +++ b/libcpp/configure @@ -7209,6 +7209,27 @@ cat >>confdefs.h <<_ACEOF _ACEOF +case $target in + i?86-* | x86_64-*) + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +asm ("pcmpestri %0, %%xmm0, %%xmm1" : : "i"(0)) + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + +$as_echo "#define HAVE_SSE4 1" >>confdefs.h + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +esac + # Output. ac_config_headers="$ac_config_headers config.h:config.in" |

