Commit 895016f6 by Uros Bizjak Committed by Uros Bizjak

driver-i386.c (host_detect_local_cpu): Add prototype.

        * config/i386/driver-i386.c (host_detect_local_cpu): Add prototype.

From-SVN: r117169
parent fcb99e7b
2006-09-23 Uros Bizjak <uros@kss-loka.si>
* config/i386/driver-i386.c (host_detect_local_cpu): Add prototype.
2006-09-23 Jakub Jelinek <jakub@redhat.com> 2006-09-23 Jakub Jelinek <jakub@redhat.com>
PR c/28706 PR c/28706
......
...@@ -22,6 +22,8 @@ Boston, MA 02110-1301, USA. */ ...@@ -22,6 +22,8 @@ Boston, MA 02110-1301, USA. */
#include "system.h" #include "system.h"
#include <stdlib.h> #include <stdlib.h>
const char *host_detect_local_cpu (int argc, const char **argv);
#ifdef GCC_VERSION #ifdef GCC_VERSION
#define cpuid(num,a,b,c,d) \ #define cpuid(num,a,b,c,d) \
asm volatile ("xchgl %%ebx, %1; cpuid; xchgl %%ebx, %1" \ asm volatile ("xchgl %%ebx, %1; cpuid; xchgl %%ebx, %1" \
......
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