From b42df3ec21358ccd975f8aa2a2d98ff061e88ac5 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 26 Sep 2009 10:04:38 +0000 Subject: [PATCH] Fixed bug #734 Nicholas Phillips 2009-04-26 21:34:05 PDT I am using x64 Linux (using Intel Core 2 DUO), and I have noticed that there is an error in SDL_cpuinfo.c, function CPU_getCPUIDFeaturesExt for my platform. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403905 --- src/cpuinfo/SDL_cpuinfo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cpuinfo/SDL_cpuinfo.c b/src/cpuinfo/SDL_cpuinfo.c index 16a09300c..87f30ee89 100644 --- a/src/cpuinfo/SDL_cpuinfo.c +++ b/src/cpuinfo/SDL_cpuinfo.c @@ -166,7 +166,7 @@ CPU_getCPUIDFeatures(void) " movl %%edi,%%ebx\n" : "=m" (features) : - : "%eax", "%ecx", "%edx", "%edi" + : "%eax", "%ebx", "%ecx", "%edx", "%edi" ); #elif defined(__GNUC__) && defined(__x86_64__) __asm__ ( @@ -183,7 +183,7 @@ CPU_getCPUIDFeatures(void) " movq %%rdi,%%rbx\n" : "=m" (features) : - : "%rax", "%rcx", "%rdx", "%rdi" + : "%rax", "%rbx", "%rcx", "%rdx", "%rdi" ); #elif (defined(_MSC_VER) && defined(_M_IX86)) || defined(__WATCOMC__) __asm { @@ -238,7 +238,7 @@ CPU_getCPUIDFeaturesExt(void) " movl %%edi,%%ebx\n" : "=m" (features) : - : "%eax", "%ecx", "%edx", "%edi" + : "%eax", "%ebx", "%ecx", "%edx", "%edi" ); #elif defined(__GNUC__) && defined (__x86_64__) __asm__ ( @@ -254,7 +254,7 @@ CPU_getCPUIDFeaturesExt(void) " movq %%rdi,%%rbx\n" : "=m" (features) : - : "%rax", "%rcx", "%rdx", "%rdi" + : "%rax", "%rbx", "%rcx", "%rdx", "%rdi" ); #elif (defined(_MSC_VER) && defined(_M_IX86)) || defined(__WATCOMC__) __asm {