projects
/
openmpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a1f9c7
)
x32
author
Alastair McKinstry
<mckinstry@debian.org>
Mon, 12 Sep 2016 06:54:45 +0000
(06:54 +0000)
committer
Alastair McKinstry
<mckinstry@debian.org>
Mon, 12 Sep 2016 06:54:45 +0000
(06:54 +0000)
Gbp-Pq: Name x32.patch
config/opal_config_asm.m4
patch
|
blob
|
history
diff --git
a/config/opal_config_asm.m4
b/config/opal_config_asm.m4
index 51ba503083d8597ea9f59fe9b7634f2b71077c46..c95168dbe96086d53f6d5ef066f7c23026709da8 100644
(file)
--- 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"