Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 28 Nov 2002 12:06:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 28 Nov 2002 12:06:17 -0500 Received: from tmr-02.dsl.thebiz.net ([216.238.38.204]:15885 "EHLO gatekeeper.tmr.com") by vger.kernel.org with ESMTP id ; Thu, 28 Nov 2002 12:06:16 -0500 Date: Thu, 28 Nov 2002 12:12:18 -0500 (EST) From: Bill Davidsen To: Dave Jones cc: Linux-Kernel Mailing List Subject: Re: 2.4.19/20, 2.5 missing P4 ifdef ? In-Reply-To: <20021128142437.GA23664@suse.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1103 Lines: 33 On Thu, 28 Nov 2002, Dave Jones wrote: > 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. A bug? An inefficiency, obviously, but it should be functionally correct, no? Or is there a problem I've missed other than performance? -- bill davidsen CTO, TMR Associates, Inc Doing interesting things with little computers since 1979. - 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/