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