From 1217855d6d61828d1f8e8d5b44351561ea571838 Mon Sep 17 00:00:00 2001 From: Debian Science Maintainers Date: Tue, 16 May 2023 11:23:01 +0100 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 5e7c0cd..411de08 100644 --- a/src/tbb/tools_api/ittnotify_config.h +++ b/src/tbb/tools_api/ittnotify_config.h @@ -167,6 +167,14 @@ # define ITT_ARCH_LOONGARCH64 7 #endif /* ITT_ARCH_LOONGARCH64 */ +#ifndef ITT_ARCH_S390X +# define ITT_ARCH_S390X 8 +#endif /* ITT_ARCH_S390X */ + +#ifndef ITT_ARCH_HPPA +# define ITT_ARCH_HPPA 9 +#endif /* ITT_ARCH_HPPA */ + #ifndef ITT_ARCH # if defined _M_IX86 || defined __i386__ # define ITT_ARCH ITT_ARCH_IA32 @@ -182,6 +190,10 @@ # define ITT_ARCH ITT_ARCH_PPC64 # elif defined __loongarch__ # define ITT_ARCH ITT_ARCH_LOONGARCH64 +# 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