[babl/sse-conversions-2013] Add -mfpmath=sse to SSE flags
- From: Daniel Sabo <daniels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl/sse-conversions-2013] Add -mfpmath=sse to SSE flags
- Date: Tue, 2 Apr 2013 05:01:08 +0000 (UTC)
commit fd744c34ebbbd9e0a2e3744ebe7c6735616493d1
Author: Daniel Sabo <DanielSabo gmail com>
Date: Mon Apr 1 18:35:40 2013 -0700
Add -mfpmath=sse to SSE flags
configure.ac | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 91725de..4954e38 100644
--- a/configure.ac
+++ b/configure.ac
@@ -310,8 +310,11 @@ if test "x$enable_mmx" = xyes; then
AC_MSG_RESULT(yes)
if test "x$enable_sse" = xyes; then
+ BABL_DETECT_CFLAGS(fpmath_flag, '-mfpmath=sse')
+ SSE_EXTRA_CFLAGS="$MMX_EXTRA_CFLAGS $fpmath_flag"
+
BABL_DETECT_CFLAGS(sse_flag, '-msse')
- SSE_EXTRA_CFLAGS="$MMX_EXTRA_CFLAGS $sse_flag"
+ SSE_EXTRA_CFLAGS="$SSE_EXTRA_CFLAGS $sse_flag"
AC_MSG_CHECKING(whether we can compile SSE code)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]