diff options
| author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-20 17:44:11 +0000 |
|---|---|---|
| committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-20 17:44:11 +0000 |
| commit | 4ed6d2bcd2b51244f73f78db32d0b69fa344ac79 (patch) | |
| tree | 88183a67b2608e7c5e4b6cf5c21553b1c6792083 | |
| parent | 65fe50df63b88d7f2d75593507d8ceb8348c21af (diff) | |
| download | ppe42-gcc-4ed6d2bcd2b51244f73f78db32d0b69fa344ac79.tar.gz ppe42-gcc-4ed6d2bcd2b51244f73f78db32d0b69fa344ac79.zip | |
fix thinko
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74889 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | libstdc++-v3/config/cpu/powerpc/atomicity.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/config/cpu/powerpc/atomicity.h b/libstdc++-v3/config/cpu/powerpc/atomicity.h index 6c474b48a89..3b44b7daf92 100644 --- a/libstdc++-v3/config/cpu/powerpc/atomicity.h +++ b/libstdc++-v3/config/cpu/powerpc/atomicity.h @@ -47,7 +47,7 @@ __exchange_and_add(volatile _Atomic_word* __mem, int __val) "/* Inline exchange & add */\n" "0:\t" "lwarx %0,0,%3 \n\t" - "add%I3 %1,%0,%4 \n\t" + "add%I4 %1,%0,%4 \n\t" _STWCX " %1,0,%3 \n\t" "bne- 0b \n\t" "/* End exchange & add */" @@ -66,7 +66,7 @@ __atomic_add(volatile _Atomic_word* __mem, int __val) "/* Inline atomic add */\n" "0:\t" "lwarx %0,0,%2 \n\t" - "add%I2 %0,%0,%3 \n\t" + "add%I3 %0,%0,%3 \n\t" _STWCX " %0,0,%2 \n\t" "bne- 0b \n\t" "/* End atomic add */" |

