delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/01/22:24:11

Date: Tue, 1 Feb 2000 21:48:16 -0500
Message-Id: <200002020248.VAA01210@delorie.com>
X-Posting-Agent: Hamster/1.3.8.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: I need to advice on timing...
From: buers AT gmx DOT de (Dieter Buerssner)
References: <F77915E7F086D31197F4009027CC81C921AA68 AT probe-2 DOT as-london DOT acclaim DOT com>
User-Agent: Xnews/2.11.08
To: Shawn Hargreaves <djgpp AT delorie DOT com>
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On 01 Feb 2000, you wrote in comp.os.msdos.djgpp:

>I don't know the details of exactly why this is, but presumably it is
>something to do with branch prediction, or forcing which of the two
>Pentium execution units will be used for the main loop.

Thank you, for your answer. At least I seeem not to be the only
one, who doesn't really understand this.  I cannot follow your 
argument, anyway. I would have thougt, that such a delay loop should 
be, as much as possible, independant from the processor type.
Your mention of "Pentium execution units" seems to contradict this.
Anyway, I can not think of any easier case for the branch prediction
logic, than this code. It should almost always do right. 

Regards,
Dieter

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019