From b9b784d65ae80669524533bbc6fb832b64dc1f7f Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Tue, 4 Apr 2006 03:29:48 +0000 Subject: [PATCH] Add a comment that really should have been in r5820. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5821 --- coregrind/m_machine.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/coregrind/m_machine.c b/coregrind/m_machine.c index faa19ef099..6f56f9faee 100644 --- a/coregrind/m_machine.c +++ b/coregrind/m_machine.c @@ -380,6 +380,11 @@ Bool VG_(machine_get_hwcaps)( void ) if (__builtin_setjmp(env_sigill)) { have_V = False; } else { + /* Unfortunately some older assemblers don't speak Altivec (or + choose not to), so to be safe we directly emit the 32-bit + word corresponding to "vor 0,0,0". This fixes a build + problem that happens on Debian 3.1 (ppc32), and probably + various other places. */ __asm__ __volatile__(".long 0x10000484"); /*vor 0,0,0*/ } -- 2.47.2