1
1

Merge pull request #7426 from hjelmn/opal_atomics_clean_out_sparcv9_as_it_is_not_supported

opal/asm: remove MIPS
Этот коммит содержится в:
Nathan Hjelm 2020-02-19 12:35:09 -08:00 коммит произвёл GitHub
родитель 58157f179d b2f17241b3
Коммит c8ed75bba5
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 0 добавлений и 29 удалений

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

@ -1234,14 +1234,6 @@ AC_DEFUN([OPAL_CONFIG_ASM],[
[AC_MSG_ERROR([No atomic primitives available for $host])]) [AC_MSG_ERROR([No atomic primitives available for $host])])
;; ;;
mips-*|mips64*)
# Should really find some way to make sure that we are on
# a MIPS III machine (r4000 and later)
opal_cv_asm_arch="MIPS"
OPAL_CHECK_SYNC_BUILTINS([opal_cv_asm_builtin="BUILTIN_SYNC"],
[AC_MSG_ERROR([No atomic primitives available for $host])])
;;
powerpc-*|powerpc64-*|powerpcle-*|powerpc64le-*|rs6000-*|ppc-*) powerpc-*|powerpc64-*|powerpcle-*|powerpc64le-*|rs6000-*|ppc-*)
OPAL_CHECK_POWERPC_REG OPAL_CHECK_POWERPC_REG
if test "$ac_cv_sizeof_long" = "4" ; then if test "$ac_cv_sizeof_long" = "4" ; then

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

@ -40,7 +40,6 @@
#define OPAL_SPARC 0060 #define OPAL_SPARC 0060
#define OPAL_SPARCV9_32 0061 #define OPAL_SPARCV9_32 0061
#define OPAL_SPARCV9_64 0062 #define OPAL_SPARCV9_64 0062
#define OPAL_MIPS 0070
#define OPAL_ARM 0100 #define OPAL_ARM 0100
#define OPAL_ARM64 0101 #define OPAL_ARM64 0101
#define OPAL_BUILTIN_SYNC 0200 #define OPAL_BUILTIN_SYNC 0200

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

@ -177,8 +177,6 @@ enum {
#include "opal/sys/ia32/atomic.h" #include "opal/sys/ia32/atomic.h"
#elif OPAL_ASSEMBLY_ARCH == OPAL_IA64 #elif OPAL_ASSEMBLY_ARCH == OPAL_IA64
#include "opal/sys/ia64/atomic.h" #include "opal/sys/ia64/atomic.h"
#elif OPAL_ASSEMBLY_ARCH == OPAL_MIPS
#include "opal/sys/mips/atomic.h"
#elif OPAL_ASSEMBLY_ARCH == OPAL_POWERPC32 #elif OPAL_ASSEMBLY_ARCH == OPAL_POWERPC32
#include "opal/sys/powerpc/atomic.h" #include "opal/sys/powerpc/atomic.h"
#elif OPAL_ASSEMBLY_ARCH == OPAL_POWERPC64 #elif OPAL_ASSEMBLY_ARCH == OPAL_POWERPC64

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

@ -65,24 +65,6 @@
#define __NR_process_vm_readv 270 #define __NR_process_vm_readv 270
#define __NR_process_vm_writev 271 #define __NR_process_vm_writev 271
#elif OPAL_ASSEMBLY_ARCH == OPAL_MIPS
#if _MIPS_SIM == _MIPS_SIM_ABI64
#define __NR_process_vm_readv 5304
#define __NR_process_vm_writev 5305
#elif _MIPS_SIM == _MIPS_SIM_NABI32
#define __NR_process_vm_readv 6309
#define __NR_process_vm_writev 6310
#else
#error "Unsupported MIPS architecture for process_vm_readv and process_vm_writev syscalls"
#endif
#else #else
#error "Unsupported architecture for process_vm_readv and process_vm_writev syscalls" #error "Unsupported architecture for process_vm_readv and process_vm_writev syscalls"
#endif #endif