From: Alastair McKinstry Date: Fri, 10 Feb 2017 05:43:32 +0000 (+0000) Subject: x32 X-Git-Tag: archive/raspbian/2.1.1-7+rpi1~1^2^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d27dca1811693221d6dcb96122ede4c0c7386bd7;p=openmpi.git x32 Gbp-Pq: Name x32.patch --- diff --git a/config/opal_config_asm.m4 b/config/opal_config_asm.m4 index b8bf726a..dc55721e 100644 --- a/config/opal_config_asm.m4 +++ b/config/opal_config_asm.m4 @@ -908,6 +908,11 @@ AC_DEFUN([OPAL_CONFIG_ASM],[ OPAL_GCC_INLINE_ASSIGN="" OPAL_ASM_SUPPORT_64BIT=0 case "${host}" in + x86_64-*x32) + opal_cv_asm_arch="AMD64" + OPAL_ASM_SUPPORT_64BIT=1 + OPAL_GCC_INLINE_ASSIGN='"xaddl %1,%0" : "=m"(ret), "+r"(negone) : "m"(ret)' + ;; i?86-*|x86_64*) if test "$ac_cv_sizeof_long" = "4" ; then opal_cv_asm_arch="IA32"