[Liboil-commit] liboil/liboilcpu-powerpc.c
David Schleef
ds at kemper.freedesktop.org
Tue May 20 18:52:00 PDT 2008
liboil/liboilcpu-powerpc.c | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 75d06203e0111752f75762ac4b0bc45cce1e55ed
Author: David Schleef <ds at ginger.bigkitten.com>
Date: Tue May 20 18:51:27 2008 -0700
[liboil] fix compile error on powerpc
diff --git a/liboil/liboilcpu-powerpc.c b/liboil/liboilcpu-powerpc.c
index a5e41de..d29d0e1 100644
--- a/liboil/liboilcpu-powerpc.c
+++ b/liboil/liboilcpu-powerpc.c
@@ -65,11 +65,13 @@ oil_profile_stamp_tb(void)
return ts;
}
+#if !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) && !defined(__APPLE__) && !defined(__linux__)
static void
test_altivec (void * ignored)
{
asm volatile ("vor v0, v0, v0\n");
}
+#endif
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
static void
More information about the Liboil-commit
mailing list