X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fprefetch.h;h=4c9c716b81f9016d79def776d3f875a7825b111a;hb=66f968af299fe8ce6ba65b38fd3cb477e9112818;hp=a0b045fbde0838f4e7088ac51848b1e4e64c43f1;hpb=bd40d887492c867e12e76790979465fc4b4fa097;p=libucw.git diff --git a/lib/prefetch.h b/lib/prefetch.h index a0b045fb..4c9c716b 100644 --- a/lib/prefetch.h +++ b/lib/prefetch.h @@ -1,7 +1,7 @@ /* * UCW Library -- Prefetch * - * (c) 1997--2005 Martin Mares + * (c) 1997--2006 Martin Mares * * This software may be freely distributed and used according to the terms * of the GNU Lesser General Public License. @@ -10,13 +10,12 @@ #ifndef _UCW_PREFETCH_H #define _UCW_PREFETCH_H -#if defined(__pentium4) - /* Default prefetches are good enough */ - -#elif defined(__k6) +#if defined(__k6) /* K6 doesn't have prefetches */ -#elif defined(__athlon) || defined(__i686) +#elif defined(__athlon) || defined(__k8) || \ + defined(__i686) || \ + defined(__pentium4) || defined(__prescott) || defined(__nocona) #define HAVE_PREFETCH static inline void prefetch(void *addr)