From ecc4002af16a8ad94486e1981cb25412ed310e33 Mon Sep 17 00:00:00 2001 From: AlexPeshkoff Date: Mon, 28 Nov 2022 14:27:39 +0300 Subject: [PATCH] =?UTF-8?q?libcds=20patch=20for=20s390x=20from=20Dan=20Hor?= =?UTF-8?q?=C3=A1k=20(https://github.com/sharkcz)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extern/libcds/cds/compiler/gcc/compiler_macro.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extern/libcds/cds/compiler/gcc/compiler_macro.h b/extern/libcds/cds/compiler/gcc/compiler_macro.h index f954d6ca8e..44ddc79f06 100644 --- a/extern/libcds/cds/compiler/gcc/compiler_macro.h +++ b/extern/libcds/cds/compiler/gcc/compiler_macro.h @@ -103,6 +103,11 @@ # define CDS_BUILD_BITS 64 # define CDS_PROCESSOR__NAME "IBM PowerPC64" # define CDS_PROCESSOR__NICK "ppc64" +#elif defined(__s390x__) +# define CDS_PROCESSOR_ARCH CDS_PROCESSOR_S390X +# define CDS_BUILD_BITS 64 +# define CDS_PROCESSOR__NAME "IBM Z" +# define CDS_PROCESSOR__NICK "s390x" #elif defined(__arm__) && __SIZEOF_POINTER__ == 4 && __ARM_ARCH >= 7 && __ARM_ARCH < 8 # define CDS_PROCESSOR_ARCH CDS_PROCESSOR_ARM7 # define CDS_BUILD_BITS 32