From 323c8ada595cdc2628772033bfc323abcfdab2b9 Mon Sep 17 00:00:00 2001 From: Alastair McKinstry Date: Fri, 21 Oct 2016 18:01:25 +0000 Subject: [PATCH] x32 Gbp-Pq: Name x32.patch --- config/opal_config_asm.m4 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/opal_config_asm.m4 b/config/opal_config_asm.m4 index 51ba5030..c95168db 100644 --- a/config/opal_config_asm.m4 +++ b/config/opal_config_asm.m4 @@ -899,6 +899,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" -- 2.30.2