1
1

* work around bumm assembly result on linux ppc32, which was claiming

support for 64 bit opcodes

This commit was SVN r9284.
Этот коммит содержится в:
Brian Barrett 2006-03-15 03:33:46 +00:00
родитель d19e924ca8
Коммит db5bc19785

Просмотреть файл

@ -451,7 +451,13 @@ dnl operations (on a long long).
dnl
dnl #################################################################
AC_DEFUN([OMPI_CHECK_POWERPC_64BIT],[
if test "$ac_cv_sizeof_long" != "4" ; then
# this function should only be called in the 32 bit case
AC_MSG_ERROR([CHECK_POWERPC_64BIT called on 64 bit platform. Internal error.])
fi
AC_MSG_CHECKING([for 64-bit PowerPC assembly support])
case $host in
*-darwin*)
ppc64_result=0
if test "$ompi_cv_asm_powerpc_r_reg" = "1" ; then
ldarx_asm=" ldarx r1,r1,r1";
@ -462,6 +468,12 @@ AC_DEFUN([OMPI_CHECK_POWERPC_64BIT],[
$ldarx_asm],
[ppc64_result=1],
[ppc64_result=0])
;;
*)
ppc64_result=0
;;
esac
if test "$ppc64_result" = "1" ; then
AC_MSG_RESULT([yes])
ifelse([$1],,:,[$1])