[Openmp-dev] Patch for PPC64LE architecture

Cownie, James H james.h.cownie at intel.com
Mon Dec 15 02:47:29 PST 2014


Apologies for this late answer - I had to put this on a side for some time.
No problem, what with SC14 and so on we’ve all been busy!

Please let me know of any problem with this.
You’ve made one change that I don’t like, in that AFAICS you renamed the KMP_ARCH_PPC64 to be KMP_ARCH_PPC.
Unless this really is for both 32 and 64 bit PPCs, I’d like to keep the 64 on there (in case you later do want a 32 bit variant).

-- Jim

James Cownie <james.h.cownie at intel.com>
SSG/DPD/TCAR (Technical Computing, Analyzers and Runtimes)
Tel: +44 117 9071438

From: Carlo Bertolli [mailto:cbertol at us.ibm.com]
Sent: Wednesday, December 10, 2014 7:54 PM
To: Cownie, James H
Cc: C Bergström; openmp-dev at dcs-maillist2.engr.illinois.edu
Subject: RE: [Openmp-dev] Patch for PPC64LE architecture


Jim

Apologies for this late answer - I had to put this on a side for some time.

Attached a new patch from your last commit to the trunk that follows the macro convention you suggested.

Please let me know of any problem with this.

(See attached file: ppc64_patch_2)

Thanks

-- Carlo


[Inactive hide details for "Cownie, James H" ---10/24/2014 09:32:37 AM---I think it may be worth making the clean-up that Christ]"Cownie, James H" ---10/24/2014 09:32:37 AM---I think it may be worth making the clean-up that Christopher suggested before we push this, unless t

From: "Cownie, James H" <james.h.cownie at intel.com<mailto:james.h.cownie at intel.com>>
To: C Bergström <cbergstrom at pathscale.com<mailto:cbergstrom at pathscale.com>>, Carlo Bertolli/Watson/IBM at IBMUS
Cc: "openmp-dev at dcs-maillist2.engr.illinois.edu<mailto:openmp-dev at dcs-maillist2.engr.illinois.edu>" <openmp-dev at dcs-maillist2.engr.illinois.edu<mailto:openmp-dev at dcs-maillist2.engr.illinois.edu>>
Date: 10/24/2014 09:32 AM
Subject: RE: [Openmp-dev] Patch for PPC64LE architecture

________________________________



I think it may be worth making the clean-up that Christopher suggested before we push this, unless there is real urgency here.

This patch is adding a lot of
#if KMP_ARCH_PPC64 || KMP_ARCH_PPC64LE
and similar changes, which would be unnecessary if we went to the other scheme.

So you would explicitly define the architecture in the scripts and so on as “ppc64be” or “ppc64le”, and the you would define
KMP_ARCH_PPC64LE or KMP_ARCH_PPC64BE in the compiler flags and have a

#define KMP_ARCH_PPC (KMP_ARCH_PPC64LE || KMP_ARCH_PPC64_BE)

in an appropriate place.

Then all the endian insensitive code would need no changes elsewhere.

I think that could really reduce the number of changes and late rreversions.

-- Jim

James Cownie <james.h.cownie at intel.com<mailto:james.h.cownie at intel.com>>
SSG/DPD/TCAR (Technical Computing, Analyzers and Runtimes)
Tel: +44 117 9071438

From: openmp-dev-bounces at cs.uiuc.edu<mailto:openmp-dev-bounces at cs.uiuc.edu> [mailto:openmp-dev-bounces at cs.uiuc.edu] On Behalf Of C Bergström
Sent: Thursday, October 23, 2014 3:59 PM
To: Carlo Bertolli
Cc: openmp-dev at dcs-maillist2.engr.illinois.edu<mailto:openmp-dev at dcs-maillist2.engr.illinois.edu>
Subject: Re: [Openmp-dev] Patch for PPC64LE architecture

It's certainly not critical and a small amount of code churn in the next patch is fine.

This passes my review if someone wants to push it.

Thanks


---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20141215/caed4f3f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 105 bytes
Desc: image001.gif
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20141215/caed4f3f/attachment.gif>


More information about the Openmp-dev mailing list