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

Diff for libplaton/platon/cpu/is64bit.c between version 1.1 and 1.2

version 1.1, 2010/04/24 14:03:15 version 1.2, 2010/04/24 14:19:12
Line 6 
Line 6 
   
 int PLATON_FUNC(is64bit)(void)  int PLATON_FUNC(is64bit)(void)
 {  {
   #if defined(__sparc__)
           return -1;
   #else
         int iedx = 0;          int iedx = 0;
         asm volatile ("movl $0x80000001, %%eax\n"          asm volatile ("movl $0x80000001, %%eax\n"
                         "cpuid\n"                          "cpuid\n"
Line 18  int PLATON_FUNC(is64bit)(void)
Line 21  int PLATON_FUNC(is64bit)(void)
                 return 1;                  return 1;
         }          }
         return 0;          return 0;
   #endif
 }  }
   
 /* Modeline for ViM {{{  /* Modeline for ViM {{{

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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