filename | src/sh4/sh4x86.in |
changeset | 908:a00debcf2600 |
prev | 905:4c17ebd9ef5e |
next | 911:2f6ba75b84d1 |
author | nkeynes |
date | Thu Oct 30 05:50:21 2008 +0000 (14 years ago) |
permissions | -rw-r--r-- |
last change | Fix x86-64 build (typos et al) Remove Push/pop ebx - don't really need it and saves adding more target-specific asm |
file | annotate | diff | log | raw |
1.1 --- a/src/sh4/sh4x86.in Wed Oct 29 23:51:58 2008 +00001.2 +++ b/src/sh4/sh4x86.in Thu Oct 30 05:50:21 2008 +00001.3 @@ -109,13 +109,9 @@1.4 {1.5 uint32_t features;1.7 - // Note: Include the push/pop ebx sequence in case of PIC builds. This1.8 - // isn't exactly on a critical path anyway1.9 __asm__ __volatile__(1.10 - "pushl %%ebx\n\t"1.11 "mov $0x01, %%eax\n\t"1.12 - "cpuid\n\t"1.13 - "popl %%ebx" : "=c" (features) : : "eax", "edx");1.14 + "cpuid\n\t" : "=c" (features) : : "eax", "edx", "ebx");1.15 return (features & 1) ? TRUE : FALSE;1.16 }
.