[Openmp-dev] AArch64 support
Peyton, Jonathan L
jonathan.l.peyton at intel.com
Tue Oct 28 10:09:21 PDT 2014
// (IA-32 architecture) or 64-bit signed (Intel(R) 64).
-#if KMP_ARCH_X86 || KMP_ARCH_ARM
+#if KMP_ARCH_X86 || KMP_ARCH_ARM || KMP_ARCH_AARCH64
# define KMP_DISPATCH_INIT __kmp_aux_dispatch_init_4
# define KMP_DISPATCH_FINI_CHUNK __kmp_aux_dispatch_fini_chunk_4
# define KMP_DISPATCH_NEXT __kmpc_dispatch_next_4
@@ -239,7 +237,6 @@ xexpand(KMP_API_NAME_GOMP_ORDERED_END)(void)
# define KMP_DISPATCH_NEXT_ULL __kmpc_dispatch_next_8u
Here, we don’t believe the KMP_ARCH_AARCH64 is correct because those dispatch routines are for 32-bit architectures. It should be using the 64 bit versions (in the #else part).
From: openmp-dev-bounces at cs.uiuc.edu [mailto:openmp-dev-bounces at cs.uiuc.edu] On Behalf Of C Bergström
Sent: Sunday, October 26, 2014 2:05 PM
To: openmp-dev at dcs-maillist2.engr.illinois.edu
Subject: Re: [Openmp-dev] AArch64 support
On Sun, Oct 26, 2014 at 8:34 PM, C Bergström <cbergstrom at pathscale.com<mailto:cbergstrom at pathscale.com>> wrote:
Does anyone have a patch for AArch64 support? Either experimental, complete or notes/suggestions.
So here's a 1st draft for review - I don't expect it to be clean on the 1st pass, but getting some review would be really appreciated.
btw - Is anyone testing this on ARM or PPC64 regularly?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openmp-dev