Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly x86 > Re: Pax, DEP an...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< 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:
Pax, DEP and Jumping into middle of instructions
tony <spamtrap@[EMAIL  2008-03-08 17:27:46 
Re: Pax, DEP and Jumping into middle of instructions
"Alexei A. Frounze&q  2008-03-08 21:17:54 
Re: Pax, DEP and Jumping into middle of instructions
Phat Sam <spamtrap@[E  2008-03-09 09:33:33 
Re: Pax, DEP and Jumping into middle of instructions
Tim Roberts <spamtrap  2008-03-11 05:23:45 
Re: Pax, DEP and Jumping into middle of instructions
Terje Mathisen <spamt  2008-03-11 07:30:35 
Re: Pax, DEP and Jumping into middle of instructions
Robert Redelmeier <red  2008-03-11 10:50:27 
Re: Pax, DEP and Jumping into middle of instructions
Jerry Coffin <spamtra  2008-03-11 07:44:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 19:55:47 CDT 2008.