Skip to content

Commit

Permalink
2017-05-26 Thomas Koenig <[email protected]>
Browse files Browse the repository at this point in the history
	PR boostrap/80889
	* acinclude.m4: Also set HAVE_AVX128 on the false
	branch of LIBGFOR_CHECK_AVX128.
	* configure:  Regenerated.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@248519 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
tkoenig committed May 26, 2017
1 parent a5aae78 commit a1a7ece
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
7 changes: 7 additions & 0 deletions libgfortran/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2017-05-26 Thomas Koenig <[email protected]>

PR boostrap/80889
* acinclude.m4: Also set HAVE_AVX128 on the false
branch of LIBGFOR_CHECK_AVX128.
* configure: Regenerated.

2017-05-25 Thomas Koenig <[email protected]>

PR libfortran/78379
Expand Down
2 changes: 1 addition & 1 deletion libgfortran/acinclude.m4
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,6 @@ AC_DEFUN([LIBGFOR_CHECK_AVX128], [
AC_DEFINE(HAVE_AVX128, 1,
[Define if -mprefer-avx128 is supported.])
AM_CONDITIONAL([HAVE_AVX128],true),
[])
[AM_CONDITIONAL([HAVE_AVX128],false)])
CFLAGS="$ac_save_CFLAGS"
])
13 changes: 13 additions & 0 deletions libgfortran/configure
Original file line number Diff line number Diff line change
Expand Up @@ -26453,6 +26453,15 @@ else
HAVE_AVX128_FALSE=
fi

else
if false; then
HAVE_AVX128_TRUE=
HAVE_AVX128_FALSE='#'
else
HAVE_AVX128_TRUE='#'
HAVE_AVX128_FALSE=
fi

fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
CFLAGS="$ac_save_CFLAGS"
Expand Down Expand Up @@ -26714,6 +26723,10 @@ if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
as_fn_error "conditional \"HAVE_AVX128\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
as_fn_error "conditional \"HAVE_AVX128\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi

: ${CONFIG_STATUS=./config.status}
ac_write_fail=0
Expand Down

0 comments on commit a1a7ece

Please sign in to comment.