From: Julian Seward Date: Tue, 4 Apr 2006 03:08:49 +0000 (+0000) Subject: ppc32-linux: work around assemblers which can't do Altivec, by X-Git-Tag: svn/VALGRIND_3_2_0~139 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db086b69493e777cb0e36ab5a2f510e1b33d3311;p=thirdparty%2Fvalgrind.git 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 --- 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) */