This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] [PATCH] faster string operations for bulldozer (take 2)


> > +      /* Assume unaligned loads are fast when avx is available.  */

AVX in caps.

> > +      if ((ecx & bit_AVX) != 0)
> > +	__cpu_features.feature[index_Fast_Rep_String]
> > +	  |= ( bit_Fast_Unaligned_Load);

Drop the excess parens (and the excess space).

I didn't follow whatever previous discussion there was about the substance
of this.  What is the rationale/evidence that AVX is (and always will be)
correlated with efficiency of unaligned loads?


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