diff cpudetect.c @ 9122:5ba896a38d75

The two attached patches *should* allow for proper compilation of the AltiVec stuff on both Darwin and non-Darwin system. They've only been tested for compilation on Debian using Debian's gcc-3.2. Romain Dolbeau <dolbeau@irisa.fr>
author arpi
date Mon, 27 Jan 2003 21:47:25 +0000
parents c428933c7e54
children 300649f96e22
line wrap: on
line diff
--- a/cpudetect.c	Mon Jan 27 20:46:45 2003 +0000
+++ b/cpudetect.c	Mon Jan 27 21:47:25 2003 +0000
@@ -492,7 +492,7 @@
             canjump = 1;
             
             asm volatile ("mtspr 256, %0\n\t"
-                          "vand v0, v0, v0"
+                          "vand %%v0, %%v0, %%v0"
                           :
                           : "r" (-1));