This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Vectorized _cpp_clean_line
On Thu, Aug 12, 2010 at 04:07:51PM -0700, Richard Henderson wrote:
> On 08/12/2010 03:23 PM, Richard Henderson wrote:
> > On 08/12/2010 03:07 PM, Andi Kleen wrote:
> >> At least for sse 4.2 I'm not sure the table lookup
> >> for alignment is worth it. The unaligned loads are quite
> >> cheap on current micro architectures with sse 4.2
> >> and the page end test is also not that expensive.
> >
> > Perhaps. That's something else that will want testing, as
> > it's all of a dozen instructions.
>
> Alternately, we can check for page end only at the end
> of the buffer. Because obviously all the middle bits
> of the buffer are present.
Looks good.
-Andi