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 --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40888
This commit is contained in:
parent
edba2cc827
commit
7fe0dc0b01
3 changed files with 53 additions and 43 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue