On Mon, Dec 11, 2006 at 12:26:21AM +0000, Ross Paterson wrote:
> I know nothing of powerpc asm, but the GHC code is identical to the Hugs
> code except that it has "r" instead of "g":
> 
>                 __asm__ volatile ("dcbf 0,%0\n\tsync\n\ticbi 0,%0"
>                                  : : "r" (p));

Moreover this change in the GHC code was made on 4th Jan 2003 with the comment

        Darwin: Replace "g" constraint by "r" in inline assembly,
        otherwise it won't compile without -O

So I'm applying this to the upstream code.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to