Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Saturday, October 17, 2026

Diff for libplaton/platon/cpu/bogomips.c between version 1.5 and 1.6

version 1.5, 2010/04/24 10:32:04 version 1.6, 2010/04/24 10:57:07
Line 20  static __inline__ void __delay(unsigned
Line 20  static __inline__ void __delay(unsigned
   
 static __inline__ void __delay(unsigned long loops)  static __inline__ void __delay(unsigned long loops)
 {  {
           register unsigned int iloops = (int) loops;
         __asm__ volatile (          __asm__ volatile (
                         ".align 2,0x90\n"                          ".align 2,0x90\n"
                         "1:     decl %0\n"                          "1:     decl %0\n"
                         "jns 1b\n"                          "jns 1b\n"
                         ::"a" (loops) /*:"ax"*/);                          ::"a" (iloops) /*:"ax"*/);
 }  }
   
 #endif /* #if defined(__sparc__) */  #endif /* #if defined(__sparc__) */

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top