projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
turning off -fhpc in stage1 built ghc
[ghc-hetmet.git]
/
includes
/
SMP.h
diff --git
a/includes/SMP.h
b/includes/SMP.h
index
bba80f7
..
74fbf9a
100644
(file)
--- a/
includes/SMP.h
+++ b/
includes/SMP.h
@@
-75,7
+75,7
@@
xchg(StgPtr p, StgWord w)
"1: lwarx %0, 0, %2\n"
" stwcx. %1, 0, %2\n"
" bne- 1b"
"1: lwarx %0, 0, %2\n"
" stwcx. %1, 0, %2\n"
" bne- 1b"
- :"=r" (result)
+ :"=&r" (result)
:"r" (w), "r" (p)
);
#elif sparc_HOST_ARCH
:"r" (w), "r" (p)
);
#elif sparc_HOST_ARCH