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,306 of 4,675   
   Terje Mathisen to Robert Prins   
   Re: Online generation of constants for "   
   16 Mar 18 08:31:00   
   
   From: terje.mathisen@nospicedham.tmsw.no   
      
   Robert Prins wrote:   
   > OK, Mrs Prins wasn't too happy, but running the code 8 times for 2000   
   > cycles of 400 years results in the following 8 differences in RDTSC:   
   >   
   > 7091411486   
   > 7041873911   
   > 7105815625   
   > 7087706654   
   > 7077261096   
   > 7058243743   
   > 7069882336   
   > 7178577784   
   >   
   > Empty loop takes   
   >   
   > 1439083272   
   >   
   > and that results in an average time of only 24.26 cycles per loop and   
   > 19.34 cycles per executed JC. Have I really beaten you?   
      
   You have definitely come up with at least equal performance, my timing   
   was for the plain C version of the code instead of the hand-optimzied asm.   
      
   The difference in performance between them is more or less trivial though.   
      
   Nice job with your code!   
      
   Terje   
      
   --   
   -    
   "almost all programming can be viewed as an exercise in caching"   
      
   --- 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