home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 3,231 of 4,675   
   Walter H. to Melzzzzz   
   Re: strange behaviour detected ...   
   14 Jan 18 11:04:45   
   
   From: Walter.H-Nntp@nospicedham.mathemainzel.info   
      
   On 14.01.2018 08:51, Melzzzzz wrote:   
   > On 2018-01-13, Walter H.  wrote:   
   >> Hi,   
   >>   
   >> the following is a function that is called from a C programme with this   
   >> function prototype   
   >>   
   >> unsigned long long __fastcall primediv( unsigned long long *prime,   
   >> unsigned long idxmax );   
   >>   
   >> and it has 3 comments, one complete line and   
   >> two times a '8' instead of a '5'   
   >>   
   >> why does it take more than 10 percent more of time for calculation when   
   >> using the commented out parts?   
   >   
   > More loop iterations? ;)   
   >   
      
   no because the calculation result is the same ...   
      
   does it have something to do with cache lines or similar?   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca