src/cpuinfo/SDL_cpuinfo.c
changeset 749 06cdd106d61c
parent 747 da36f59485da
child 769 b8d311d90021
     1.1 --- a/src/cpuinfo/SDL_cpuinfo.c	Mon Nov 24 09:30:40 2003 +0000
     1.2 +++ b/src/cpuinfo/SDL_cpuinfo.c	Mon Nov 24 19:58:29 2003 +0000
     1.3 @@ -59,7 +59,7 @@
     1.4  	: "%eax", "%ecx"
     1.5  	);
     1.6  #elif defined(_MSC_VER)
     1.7 -	__asm__ {
     1.8 +	__asm {
     1.9          pushfd                      ; Get original EFLAGS
    1.10          pop     eax
    1.11          mov     ecx, eax
    1.12 @@ -102,7 +102,7 @@
    1.13  	: "%eax", "%ebx", "%ecx", "%edx"
    1.14  	);
    1.15  #elif defined(_MSC_VER)
    1.16 -	__asm__ {
    1.17 +	__asm {
    1.18          xor     eax, eax            ; Set up for CPUID instruction
    1.19          cpuid                       ; Get and save vendor ID
    1.20          cmp     eax, 1              ; Make sure 1 is valid input for CPUID
    1.21 @@ -162,7 +162,7 @@
    1.22  	: "%eax", "%ebx", "%ecx", "%edx"
    1.23  	);
    1.24  #elif defined(_MSC_VER)
    1.25 -	__asm__ {
    1.26 +	__asm {
    1.27          mov     eax,80000000h       ; Query for extended functions
    1.28          cpuid                       ; Get extended function limit
    1.29          cmp     eax,80000001h