Commit 8299975e authored by Sam Lantinga's avatar Sam Lantinga

Fixed 32-bit build

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403915
parent f1c0aa6d
...@@ -161,7 +161,7 @@ static __inline__ int CPU_getCPUIDFeatures(void) ...@@ -161,7 +161,7 @@ static __inline__ int CPU_getCPUIDFeatures(void)
" movl %%edi,%%ebx\n" " movl %%edi,%%ebx\n"
: "=m" (features) : "=m" (features)
: :
: "%eax", "%ebx", "%ecx", "%edx", "%edi" : "%eax", "%ecx", "%edx", "%edi"
); );
#elif defined(__GNUC__) && defined(__x86_64__) #elif defined(__GNUC__) && defined(__x86_64__)
__asm__ ( __asm__ (
...@@ -230,7 +230,7 @@ static __inline__ int CPU_getCPUIDFeaturesExt(void) ...@@ -230,7 +230,7 @@ static __inline__ int CPU_getCPUIDFeaturesExt(void)
" movl %%edi,%%ebx\n" " movl %%edi,%%ebx\n"
: "=m" (features) : "=m" (features)
: :
: "%eax", "%ebx", "%ecx", "%edx", "%edi" : "%eax", "%ecx", "%edx", "%edi"
); );
#elif defined(__GNUC__) && defined (__x86_64__) #elif defined(__GNUC__) && defined (__x86_64__)
__asm__ ( __asm__ (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment