From db086b69493e777cb0e36ab5a2f510e1b33d3311 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Tue, 4 Apr 2006 03:08:49 +0000 Subject: [PATCH] ppc32-linux: work around assemblers which can't do Altivec, by emitting the relevant instruction directly. Fixes a build problem on Debian 3.1 (ppc32). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5820 --- coregrind/m_machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coregrind/m_machine.c b/coregrind/m_machine.c index 8392610e80..faa19ef099 100644 --- a/coregrind/m_machine.c +++ b/coregrind/m_machine.c @@ -380,7 +380,7 @@ Bool VG_(machine_get_hwcaps)( void ) if (__builtin_setjmp(env_sigill)) { have_V = False; } else { - __asm__ __volatile__("vor 0,0,0"); + __asm__ __volatile__(".long 0x10000484"); /*vor 0,0,0*/ } /* General-Purpose optional (fsqrt, fsqrts) */ -- 2.47.2