Re: [patch 4/21] fix ARCH_HAS_PREFETCH

From: H. Peter Anvin (hpa@zytor.com)
Date: Tue Aug 13 2002 - 17:42:05 EST


Adrian Bunk wrote:
>
> Ah, my misunderstanding:
> "optimize away" didn't mean "completely remove it" but "transform it to
> something semantically equivalent".
>

The thing is that gcc has a special rule that keeps it from optimizing
it into something with less than O(n) time.

        -=hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:34 EST