Messages in this thread | | | Date | Wed, 19 Sep 2007 10:39:32 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [patch 4/7] Immediate Values - i386 Optimization |
| |
Jeremy Fitzhardinge wrote: > > Cross-cache-line, sure. But what about just not sizeof aligned? If its > enough to avoid cross-cache-line, then that's simpler. >
Not really. It pretty much comes down to the same problem.
> Which is something I was going to comment on: Mathieu, you try to align > the constant itself, but you don't prevent the instruction overall from > crossing a cache line. Given how delicate all this stuff is, it seems > like a good idea to do that.
Given how delicate all his stuff is, it would be interesting to know the magnitude of the expected payoff, which I personally don't remember seeing.
-hpa
- 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/
| |