mirror of
https://github.com/yawut/SDL.git
synced 2026-10-26 16:39:45 -05:00
Date: Mon, 10 May 2004 10:17:46 -0400
From: Mike Frysinger Subject: Re: [SDL] gcc-3.4.0 / PIC fix here's a combined patch (yours and the one i mentioned earlier) that i tested with gcc-3.4.0 and gcc-3.3.3
This commit is contained in:
@@ -138,7 +138,7 @@ static __inline__ int CPU_getCPUIDFeatures()
|
||||
" movl %%edi,%%ebx\n"
|
||||
: "=m" (features)
|
||||
:
|
||||
: "%eax", "%ebx", "%ecx", "%edx", "%edi"
|
||||
: "%eax", "%ecx", "%edx", "%edi"
|
||||
);
|
||||
#elif defined(_MSC_VER)
|
||||
__asm {
|
||||
@@ -173,7 +173,7 @@ static __inline__ int CPU_getCPUIDFeaturesExt()
|
||||
" movl %%edi,%%ebx\n"
|
||||
: "=m" (features)
|
||||
:
|
||||
: "%eax", "%ebx", "%ecx", "%edx", "%edi"
|
||||
: "%eax", "%ecx", "%edx", "%edi"
|
||||
);
|
||||
#elif defined(_MSC_VER)
|
||||
__asm {
|
||||
|
||||
Reference in New Issue
Block a user