public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch] boehm-gc darwin-stop-world
@ 2006-01-25 20:27 Andreas Tobler
  0 siblings, 0 replies; only message in thread
From: Andreas Tobler @ 2006-01-25 20:27 UTC (permalink / raw)
  To: Java Patches, Hans Boehm

Hello,

I'll apply the below patch as obvious as there is no 'ldz' instruction 
on PPC|64.

Andreas

2006-01-25  Andreas Tobler  <a.tobler@schweiz.ch>

	* darwin_stop_world.c: Change inline asm instruction to ld as ldz
	is wrong.

Index: darwin_stop_world.c
===================================================================
--- darwin_stop_world.c (revision 110223)
+++ darwin_stop_world.c (working copy)
@@ -38,7 +38,7 @@
  #   if CPP_WORDSZ == 32
        __asm__ volatile("lwz    %0,0(r1)" : "=r" (frame));
  #   else
-      __asm__ volatile("ldz    %0,0(r1)" : "=r" (frame));
+      __asm__ volatile("ld     %0,0(r1)" : "=r" (frame));
  #   endif
  # endif
    } else {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-25 20:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-25 20:27 [patch] boehm-gc darwin-stop-world Andreas Tobler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).