Diff for /np2/x11/np2.c between versions 1.18 and 1.20

version 1.18, 2004/06/16 12:50:49 version 1.20, 2004/06/26 15:48:35
Line 38 Line 38
 #include "toolwin.h"  #include "toolwin.h"
 #include "viewer.h"  #include "viewer.h"
 #include "debugwin.h"  #include "debugwin.h"
   #include "skbdwin.h"
   
 #include "commng.h"  #include "commng.h"
 #include "joymng.h"  #include "joymng.h"
Line 378  havemmx(void) Line 379  havemmx(void)
 {  {
         int rv;          int rv;
   
   #if defined(GCC_CPU_ARCH_AMD64)
           rv = 1;
   #else   /* !GCC_CPU_ARCH_AMD64 */
         asm volatile (          asm volatile (
                 "pushf;"                  "pushf;"
                 "popl   %%eax;"                  "popl   %%eax;"
Line 398  havemmx(void) Line 402  havemmx(void)
                 "andl   $0x00800000, %0;"                  "andl   $0x00800000, %0;"
         ".nocpuid:"          ".nocpuid:"
                 : "=a" (rv));                  : "=a" (rv));
   #endif /* GCC_CPU_ARCH_AMD64 */
         return rv;          return rv;
 }  }
   
 #endif /* GCC_CPU_ARCH_IA32 */  #endif /* GCC_CPU_ARCH_IA32 */

Removed from v.1.18  
changed lines
  Added in v.1.20


RetroPC.NET-CVS <cvs@retropc.net>