1
1

Merge branch 'master' into opal_atomics_clean_out_sparcv9_as_it_is_not_supported

Этот коммит содержится в:
Nathan Hjelm 2020-02-19 08:16:46 -08:00 коммит произвёл GitHub
родитель 9eb5ef92da 960c5f736f
Коммит b2f17241b3
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 3 добавлений и 25 удалений

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

@ -17,6 +17,7 @@ dnl Copyright (c) 2014-2018 Los Alamos National Security, LLC. All rights
dnl reserved.
dnl Copyright (c) 2017 Amazon.com, Inc. or its affiliates. All Rights
dnl reserved.
dnl Copyright (c) 2020 Google, LLC. All rights reserved.
dnl $COPYRIGHT$
dnl
dnl Additional copyrights may follow
@ -1251,19 +1252,6 @@ AC_DEFUN([OPAL_CONFIG_ASM],[
fi
OPAL_GCC_INLINE_ASSIGN='"1: li %0,0" : "=&r"(ret)'
;;
# There is no current difference between s390 and s390x
# But use two different defines in case some come later
# 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
# if compiling 32 bit, see if we are v9 (aka v8plus) or

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

@ -15,6 +15,7 @@
* reserved.
* Copyright (c) 2017 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2020 Google, LLC. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -41,8 +42,6 @@
#define OPAL_SPARCV9_64 0062
#define OPAL_ARM 0100
#define OPAL_ARM64 0101
#define OPAL_S390 0110
#define OPAL_S390X 0111
#define OPAL_BUILTIN_SYNC 0200
#define OPAL_BUILTIN_GCC 0202
#define OPAL_BUILTIN_NO 0203

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

@ -4,6 +4,7 @@
* reserved.
* Copyright (c) 2017 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2020 Google, LLC. All rights reserved.
* $COPYRIGHT$
*/
@ -64,16 +65,6 @@
#define __NR_process_vm_readv 270
#define __NR_process_vm_writev 271
#elif OPAL_ASSEMBLY_ARCH == OPAL_S390
#define __NR_process_vm_readv 340
#define __NR_process_vm_writev 341
#elif OPAL_ASSEMBLY_ARCH == OPAL_S390X
#define __NR_process_vm_readv 340
#define __NR_process_vm_writev 341
#else
#error "Unsupported architecture for process_vm_readv and process_vm_writev syscalls"
#endif