]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add a comment that really should have been in r5820.
authorJulian Seward <jseward@acm.org>
Tue, 4 Apr 2006 03:29:48 +0000 (03:29 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 4 Apr 2006 03:29:48 +0000 (03:29 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5821

coregrind/m_machine.c

index faa19ef099ddf3d05e27180a4569d6fe3492751b..6f56f9faee4894b35350b1c1c9a3252c3a55c061 100644 (file)
@@ -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*/
      }