From f33f749f88b567ae21ade7e38436e165258398ac Mon Sep 17 00:00:00 2001 From: Debian Science Maintainers Date: Sun, 30 Oct 2022 03:15:39 +0000 Subject: [PATCH] fetchadd4 Forward: https://github.com/oneapi-src/oneTBB/issues/776 Gbp-Pq: Name fetchadd4.patch --- src/tbb/tools_api/ittnotify_config.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/tbb/tools_api/ittnotify_config.h b/src/tbb/tools_api/ittnotify_config.h index f904a8e..cecb4e7 100644 --- a/src/tbb/tools_api/ittnotify_config.h +++ b/src/tbb/tools_api/ittnotify_config.h @@ -163,6 +163,14 @@ # define ITT_ARCH_ARM64 6 #endif /* ITT_ARCH_ARM64 */ +#ifndef ITT_ARCH_S390X +# define ITT_ARCH_S390X 7 +#endif /* ITT_ARCH_S390X */ + +#ifndef ITT_ARCH_HPPA +# define ITT_ARCH_HPPA 8 +#endif /* ITT_ARCH_HPPA */ + #ifndef ITT_ARCH # if defined _M_IX86 || defined __i386__ # define ITT_ARCH ITT_ARCH_IA32 @@ -176,6 +184,10 @@ # define ITT_ARCH ITT_ARCH_ARM64 # elif defined __powerpc64__ # define ITT_ARCH ITT_ARCH_PPC64 +# elif defined __s390__ || defined __s390x__ +# define ITT_ARCH ITT_ARCH_S390X +# elif defined __hppa__ +# define ITT_ARCH ITT_ARCH_HPPA # endif #endif -- 2.30.2