Re: [PATCH] x86_64 : prefetchw() can fall back to prefetch() if !3DNOW

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 28, 2005 at 07:10:41PM +0200, Eric Dumazet wrote:
> [PATCH] x86_64 : prefetchw() can fall back to prefetch() if !3DNOW
> 
> If the cpu lacks 3DNOW feature, we can use a normal prefetcht0 instruction 
> instead of NOP5.
> "prefetchw (%rxx)" and "prefetcht0 (%rxx)" have the same length, ranging 
> from 3 to 5 bytes
> depending on the register. So this patch even helps AMD64, shortening the 
> length of the code.

Looks good, thanks.

-Andi

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux