Skip to content

Commit

Permalink
- Change -msse to -msse2 as we need to use SSE on doubles, not floats
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@5831 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Jul 8, 2010
1 parent 863b07d commit ef901fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions configure
Expand Up @@ -2215,9 +2215,9 @@ if echo $CFLAGS | grep -q -- -mfpmath=; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
else
CFLAGS+=" -msse -mfpmath=sse"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: adding -mfpmath=sse" >&5
$as_echo "adding -mfpmath=sse" >&6; }
CFLAGS+=" -msse2 -mfpmath=sse"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: adding -msse2 -mfpmath=sse" >&5
$as_echo "adding -msse2 -mfpmath=sse" >&6; }
fi

fi # End x86-specific CFLAGS
Expand Down
6 changes: 3 additions & 3 deletions configure.in
Expand Up @@ -55,13 +55,13 @@ fi

fi

dnl Simulations spin forever unless -mfpmath=sse is set
dnl Simulations spin forever unless -msse2 -mfpmath=sse is set
AC_MSG_CHECKING([for -mfpmath])
if echo $CFLAGS | grep -q -- -mfpmath=; then
AC_MSG_RESULT([yes])
else
CFLAGS+=" -msse -mfpmath=sse"
AC_MSG_RESULT([adding -mfpmath=sse])
CFLAGS+=" -msse2 -mfpmath=sse"
AC_MSG_RESULT([adding -msse2 -mfpmath=sse])
fi

fi # End x86-specific CFLAGS
Expand Down

0 comments on commit ef901fb

Please sign in to comment.