| Programming > Assembly x86 > Re: Pax, DEP an... |
|
| << Topic |
< Post |
Post 7 of 7 Topic 4561 of 4710
|
Post > |
Topic >> |
Re: Pax, DEP and Jumping into middle of instructions
by Jerry Coffin <spamtrap@[EMAIL PROTECTED]
>
Mar 11, 2008 at 07:44 AM
|
In article <TttBj.93$qS5.60@[EMAIL PROTECTED]
>,
redelm@[EMAIL PROTECTED]
says...
[ ... ]
> While this is entirely true, I wonder how the Pentium4 and
> its' predecoded "trace cache" would handle it. Probably with
> a long stall as the bytes were reloaded from memory (L2?) and
> re-decoded. Other CPUs should be able to draw from L1.
You're right about the P4 -- doing this gives terrible performance with
it.
You're only sort of half-right about the other CPUs. Even though they
don't store decoded instructions in the L1 cache, they do store
information about instruction boundaries, and when this becomes
incorrect, they lose a fair amount of performance as well.
--
Later,
Jerry.
The universe is a figment of its own imagination.


|
7 Posts in Topic:
|
tony <spamtrap@[EMAIL |
2008-03-08 17:27:46 |
|
"Alexei A. Frounze&q |
2008-03-08 21:17:54 |
|
Phat Sam <spamtrap@[E |
2008-03-09 09:33:33 |
|
Tim Roberts <spamtrap |
2008-03-11 05:23:45 |
|
Terje Mathisen <spamt |
2008-03-11 07:30:35 |
|
Robert Redelmeier <red |
2008-03-11 10:50:27 |
|
Jerry Coffin <spamtra |
2008-03-11 07:44:59 |
|
Post A Reply:

|