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 6 of 7 Topic 4561 of 4729
Post > Topic >>

Re: Pax, DEP and Jumping into middle of instructions

by Robert Redelmeier <redelm@[EMAIL PROTECTED] > Mar 11, 2008 at 10:50 AM

Tim Roberts <spamtrap@[EMAIL PROTECTED]
> wrote in part:
> There is nothing magical about the beginning and ending
> of an instruction.  It's just a sequence of bytes that the
> CPU interprets.  When you make a jump, the CPU doesn't know
> or care whether it is the first byte of an instruction.
> It will just load and execute it.

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.

-- Robert
 




 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 Fri Jul 25 20:58:44 CDT 2008.