This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PING: Re: [patch] implement simd loops in trunk (OMP_SIMD)


On 08/19/13 01:55, Jakub Jelinek wrote:
On Thu, Aug 08, 2013 at 09:15:54PM +0200, Aldy Hernandez wrote:
On 08/08/13 18:42, Richard Henderson wrote:
On 08/08/2013 02:06 AM, Aldy Hernandez wrote:
The hash is not really mapping the simd DECL to the simduid, since that's just
a matter of DECL_UID(simduid), but the OMP simd array to the index used to
reference it (simduid), like thus:

         _7 = GOMP_SIMD_LANE (simduid.0)
         ...
         ...
         D.1737[_7] = stuff;

decl_to_simduid is a mapping from the simduid.0 to the D.1737[] (the OMP simd
array).

Agreed, or am I missing something?

Agreed.  Yeah, that's a bit confusing.

Ok, I will change the hash name and add some comments.

Do you have such an incremental patch?  I'd like to apply it to
gomp-4_0-branch so that we are in sync.

	Jakub


Ughhh...not an incremental change. I must have squashed it when I rebased on my branch. I have a full diff from trunk as before (attached).

I also fixed the minutiae Richard pointed out.

Attachment: curr
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]