1
1

Merge pull request #3745 from hjelmn/s390_asm_detect

configure: add builtin asm check for s390/s390x
Этот коммит содержится в:
Nathan Hjelm 2017-06-23 09:35:52 -06:00 коммит произвёл GitHub
родитель b638612a98 bc54c99e12
Коммит c27e277832

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

@ -13,7 +13,7 @@ dnl Copyright (c) 2008-2015 Cisco Systems, Inc. All rights reserved.
dnl Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.
dnl Copyright (c) 2015-2017 Research Organization for Information Science
dnl and Technology (RIST). All rights reserved.
dnl Copyright (c) 2014-2016 Los Alamos National Security, LLC. All rights
dnl Copyright (c) 2014-2017 Los Alamos National Security, LLC. All rights
dnl reserved.
dnl Copyright (c) 2017 Amazon.com, Inc. or its affiliates. All Rights
dnl reserved.
@ -1088,9 +1088,13 @@ AC_DEFUN([OPAL_CONFIG_ASM],[
# as s390 is 31bits while s390x is 64bits
s390-*)
opal_cv_asm_arch="S390"
OPAL_CHECK_SYNC_BUILTINS([opal_cv_asm_builtin="BUILTIN_SYNC"],
[AC_MSG_ERROR([No atomic primitives available for $host])])
;;
s390x-*)
opal_cv_asm_arch="S390X"
OPAL_CHECK_SYNC_BUILTINS([opal_cv_asm_builtin="BUILTIN_SYNC"],
[AC_MSG_ERROR([No atomic primitives available for $host])])
;;
sparc*-*)
# SPARC v9 (and above) are the only ones with 64bit support