[Openmp-dev] AArch64 support

C Bergström cbergstrom at pathscale.com
Tue Dec 16 04:37:03 PST 2014


It's been a bit since I had time to look at this again, but based on the
previous feedback can you take a look at this patch. If it looks good
please feel free to push it. I'll fix any bugs people hit and also
follow-up later with some improvements.

On Wed, Oct 29, 2014 at 12:09 AM, Peyton, Jonathan L <
jonathan.l.peyton at intel.com> wrote:
>
>  C Bergström,
>
>
>
> // (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).
>
>
>
> -- Johnny
>
>
>
> *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>
> wrote:
>
>  Hi
>
>
>
> 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?
>
>
>
> Thanks
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20141216/221da30e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openmp.diff.v2
Type: application/octet-stream
Size: 39919 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20141216/221da30e/attachment.obj>


More information about the Openmp-dev mailing list