diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-07-10 15:15:39 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-07-10 15:15:39 +0000 |
commit | 02e1ec9bc4f9bb54f88840e6cdcc3c15953dd898 (patch) | |
tree | aebe642a34b008cbc30988df1faba6c1ac7e0d8e | |
parent | 3df3f6fd7b5d45bae588ceb17233187ba5ec5c8a (diff) | |
download | qemu-02e1ec9bc4f9bb54f88840e6cdcc3c15953dd898.zip qemu-02e1ec9bc4f9bb54f88840e6cdcc3c15953dd898.tar.gz qemu-02e1ec9bc4f9bb54f88840e6cdcc3c15953dd898.tar.bz2 |
Mac OS X port (Pierre d'Herbemont)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@994 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | exec-all.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -391,11 +391,11 @@ static inline int testandset (int *p) { int ret; __asm__ __volatile__ ( - "0: lwarx %0,0,%1 ;" - " xor. %0,%3,%0;" - " bne 1f;" - " stwcx. %2,0,%1;" - " bne- 0b;" + "0: lwarx %0,0,%1\n" + " xor. %0,%3,%0\n" + " bne 1f\n" + " stwcx. %2,0,%1\n" + " bne- 0b\n" "1: " : "=&r" (ret) : "r" (p), "r" (1), "r" (0) |