lkml.org 
[lkml]   [2003]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Runtime memory barrier patching

On Mon, 21 Apr 2003, Ulrich Drepper wrote:

> Linus Torvalds wrote:
>
> > They may _work_ for intel, but quite frankly they suck for most Intel (and
> > probably non-intel too) CPU's. Using prefixes tends to almost always mess
> > up the instruction decoders on most CPU's out there.
>
> Indeed, using prefixes is terrible.

I would not be surprised if both AMD and Intel are playing some
"benchmarking games" by trying to select nop's that work badly for the
other side, and then showing how _their_ new CPU's are so much better by
having the compilers emit the "preferred" no-ops.

But maybe I'm just too cynical. And I do suspect the Hammer optimization
guide was meant for the 64-bit mode only, because I'm pretty certain even
AMD does badly on prefixes at least in older CPU generations.

Linus

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.052 / U:2.140 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site