discussion forum



message

Name: Stephan Keil
eMail: Stephan.Keil@gmx.de
Date: June 10, 2003 at 10:25:22
Subject: Re: Hyperthreading and 'lock' prefix
In Reply To: Re: Hyperthreading and 'lock' prefix by
unknown on June 10, 2003 at 09:56:17
Text: || Both processors share the same pipeline. If the pipeline would care
|| about read-modify-write conflicts regardless of the executing
|| thread (as it does for a single thread), then it would be safe to omit
|| the 'lock'. So my question refers more to the current implementations
|| of hyperthreaded processors (P4-XEON?!): does the P4 pipeline care about
|| those conflicts regardless of the executing thread?
|
| You are sure it doesn't pick and choses from a random stream of microcode instructions to fill all available execution units? I suspect the dispatcher doesn't much care which thread it comes from, at that level it's probably transparent.
|

I am not sure, but for a single processor (at least for the x86-familiy),
each instruction is executed as if it the instruction stream were
sequential and each instruction were atomic, although the instructions
might be executed out of order and each instruction might be executed
in multiple steps. If the dispatcher doesn't care about threads but sees
a single instruction stream: fine, then it guarantees that each instruction
is executed atomically :)




post a followup message
(Be nice... or be blocked. Be technical... or be erased.)

Name: optional link title:
eMail: optional link URL:
Subject: optional image URL:
  Insert line breaks by hand when only about one inch remains at the right side. Otherwise your message will be unreadable.
Text:
 

  Note: The above eMail form fields may look unaligned if you are using a browser other than Netscape Navigator version 3.0.



currently posted followup messages
(You may have to press the RELOAD button of your browser.)




main page