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 > Borland Delphi > Re: Parallel ex...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 12 Topic 3727 of 3888
Post > Topic >>

Re: Parallel execution of carry dependent instructions ?

by Robert Redelmeier <redelm@[EMAIL PROTECTED] > May 4, 2008 at 06:53 PM

In alt.lang.asm Skybuck Flying <BloodyShame@[EMAIL PROTECTED]
> wrote in part:
> Do cpu's nowadays have multiple carry flags underneath ? I
> would think so...  otherwise how can they possible execute
> multiple integer instructions ?

Yes, AFAIK the modern CPUs do register renaming on flags.
Otherwise, as you point out, parallelism stalls.

The problems come with instructions that only update some of
the flags (like INC), or where you create a dependency chains
(like your BT/ADC) without independant filler.

Your  BT/ADC X, BT/ADC Y, BT/ADC Z  will be reordered and
interally executed as:

  BT X  [flag0]
  BT Y  [flag1]
  BT Z  [flag2]

  ADC X [flag0]
  ADC Y [flag1]
  ADC Z [flag2]


To allow multiple instructions running per clock.
Actually it is more complex than this, because your
ADCs  are actually  load, add, and store micro-ops.

-- Robert
 




 12 Posts in Topic:
Parallel execution of carry dependent instructions ?
"Skybuck Flying"  2008-05-04 16:54:41 
Re: Parallel execution of carry dependent instructions ?
"Skybuck Flying"  2008-05-04 17:03:58 
Re: Parallel execution of carry dependent instructions ?
"Skybuck Flying"  2008-05-04 17:20:52 
Re: Parallel execution of carry dependent instructions ?
MitchAlsup <MitchAlsup  2008-05-04 10:45:23 
Re: Parallel execution of carry dependent instructions ?
Robert Redelmeier <red  2008-05-04 18:53:59 
Re: Parallel execution of carry dependent instructions ?
"Rod Pemberton"  2008-05-05 03:45:29 
Re: Parallel execution of carry dependent instructions ?
"Skybuck Flying"  2008-05-05 21:35:47 
Re: Parallel execution of carry dependent instructions ?
ilya <asmdev@[EMAIL PR  2008-05-06 21:52:35 
Re: Parallel execution of carry dependent instructions ?
"Terry Russell"  2008-05-08 21:49:38 
Re: Parallel execution of carry dependent instructions ?
Robert Redelmeier <red  2008-05-08 13:28:57 
Re: Parallel execution of carry dependent instructions ?
"Terry Russell"  2008-05-09 01:21:04 
Re: Parallel execution of carry dependent instructions ?
"Wolfgang Kern"  2008-05-08 23:01:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Thu Aug 28 5:25:01 CDT 2008.