[babl] configure: make the f16c test for half-float instructions stricter
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] configure: make the f16c test for half-float instructions stricter
- Date: Fri, 16 Dec 2016 14:04:07 +0000 (UTC)
commit d82f74a39f764e0985609cc6390359b0f57e7b8c
Author: Øyvind Kolås <pippin gimp org>
Date: Fri Dec 16 15:01:34 2016 +0100
configure: make the f16c test for half-float instructions stricter
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6caaf9a..729770c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -408,7 +408,7 @@ if test "x$enable_mmx" = xyes; then
CFLAGS="$CFLAGS $sse_flag $f16c_flag"
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <immintrin.h>],[__m128 val = _mm_cvtph_ps
((__m128i)_mm_setzero_ps());])],
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <immintrin.h>],[__m128 val = _mm_cvtph_ps
((__m128i)_mm_setzero_ps()); __m128i val2 = _mm_insert_epi64((__m128i)_mm_setzero_ps(), 0, 0);])],
AC_DEFINE(USE_F16C, 1, [Define to 1 if f16c intrinsics are available.])
AC_MSG_RESULT(yes)
,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]