Re: 2.4.19/20, 2.5 missing P4 ifdef ?

Dave Jones (davej@codemonkey.org.uk)
Thu, 28 Nov 2002 14:24:37 +0000


On Thu, Nov 28, 2002 at 03:17:53PM +0100, Margit Schubert-While wrote:
> Just noticed this in "include/asm-i386/processor.h" :
>
> --- snip ---
> /* Prefetch instructions for Pentium III and AMD Athlon */
> #ifdef CONFIG_MPENTIUMIII
> #define ARCH_HAS_PREFETCH
> extern inline void prefetch(const void *x)
> {
> __asm__ __volatile__ ("prefetchnta (%0)" : : "r"(x));
> }
> #elif CONFIG_X86_USE_3DNOW
> --- end snip ---
>
> The P4 has SSE and prefetch or no ?

It does. You seem to have found a bug.

Dave

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs
-
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/