X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=includes%2FSMP.h;h=515516a9824864ccb7756b65917f9321097f24b6;hp=68f16905c6241b78efa72092e7c7415e6e90fb70;hb=7adc29e83d11ced8877490f0a12fd8b751b9922a;hpb=3b1f598f60e9dfc45aba5dd0c0993ca0b403aeac diff --git a/includes/SMP.h b/includes/SMP.h index 68f1690..515516a 100644 --- a/includes/SMP.h +++ b/includes/SMP.h @@ -76,8 +76,9 @@ cas(StgVolatilePtr p, StgWord o, StgWord n) " stwcx. %2, 0, %3\n" " bne- 1b\n" "2:" - :"=r" (result) + :"=&r" (result) :"r" (o), "r" (n), "r" (p) + :"cc", "memory" ); return result; #else