x86: sun studio can use gcc inline asm
authorDavid Schleef <ds@schleef.org>
Sun, 5 Dec 2010 22:11:48 +0000 (14:11 -0800)
committerDavid Schleef <ds@schleef.org>
Sun, 5 Dec 2010 22:11:48 +0000 (14:11 -0800)
orc/orccpu-x86.c

index b71e6da..d3fd9ed 100644 (file)
@@ -71,7 +71,7 @@ get_cpuid_ecx (orc_uint32 op, orc_uint32 init_ecx, orc_uint32 *a, orc_uint32 *b,
   *c = tmp[2];
   *d = tmp[3];
 }
-#elif defined(__GNUC__)
+#elif defined(__GNUC__) || defined (__SUNPRO_C)
 
 static void
 get_cpuid_ecx (orc_uint32 op, orc_uint32 init_ecx, orc_uint32 *a, orc_uint32 *b,