Skip to content

Commit 596613c

Browse files
committed
configury: add support for x32 architecture
Thanks Alastair McKinstry for the patch Fixes #2515 Signed-off-by: Gilles Gouaillardet <[email protected]>
1 parent c8b51a2 commit 596613c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

config/opal_config_asm.m4

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,6 +1003,11 @@ AC_DEFUN([OPAL_CONFIG_ASM],[
10031003
OPAL_GCC_INLINE_ASSIGN=""
10041004
OPAL_ASM_SUPPORT_64BIT=0
10051005
case "${host}" in
1006+
x86_64-*x32)
1007+
opal_cv_asm_arch="AMD64"
1008+
OPAL_ASM_SUPPORT_64BIT=1
1009+
OPAL_GCC_INLINE_ASSIGN='"xaddl %1,%0" : "=m"(ret), "+r"(negone) : "m"(ret)'
1010+
;;
10061011
i?86-*|x86_64*)
10071012
if test "$ac_cv_sizeof_long" = "4" ; then
10081013
opal_cv_asm_arch="IA32"

0 commit comments

Comments
 (0)