diff options
| author | espie <espie@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-03 05:26:00 +0000 |
|---|---|---|
| committer | espie <espie@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-03 05:26:00 +0000 |
| commit | c80fddf9f678a0e5ecfaccf2a21de2c41b344211 (patch) | |
| tree | 334d12dc1f0eea292a108ac250edb518c8a58092 | |
| parent | 804936f38631f1d6e24ce4a11b4449a30c0c1a13 (diff) | |
| download | ppe42-gcc-c80fddf9f678a0e5ecfaccf2a21de2c41b344211.tar.gz ppe42-gcc-c80fddf9f678a0e5ecfaccf2a21de2c41b344211.zip | |
* config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline
assembly for old assemblers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54202 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
| -rw-r--r-- | libstdc++-v3/config/cpu/m68k/bits/atomicity.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 5565af1ef60..332f1a4c500 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2002-06-03 Marc Espie <espie@openbsd.org> + + * config/cpu/m68k/bits/atomicity.h(__exchange_and_add): Fix inline + assembly for old assemblers. + 2002-06-03 Phil Edwards <pme@gcc.gnu.org> * include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)): diff --git a/libstdc++-v3/config/cpu/m68k/bits/atomicity.h b/libstdc++-v3/config/cpu/m68k/bits/atomicity.h index c5d339469e3..db327355954 100644 --- a/libstdc++-v3/config/cpu/m68k/bits/atomicity.h +++ b/libstdc++-v3/config/cpu/m68k/bits/atomicity.h @@ -45,7 +45,7 @@ __exchange_and_add (volatile _Atomic_word *__mem, int __val) __asm__ __volatile__ ("1: move%.l %0,%1\n\t" "add%.l %2,%1\n\t" "cas%.l %0,%1,%3\n\t" - "jbne 1b" + "jne 1b" : "=d" (__result), "=&d" (__temp) : "d" (__val), "m" (*__mem), "0" (__result) : "memory"); |

