OSDN Git Service

* config/sh/linux-atomic.asm (ATOMIC_TEST_AND_SET): Take
authorkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Mar 2008 23:25:41 +0000 (23:25 +0000)
committerkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Mar 2008 23:25:41 +0000 (23:25 +0000)
commitd9f903b84822be37953949549a8b6080630940a9
tree2e8bd8bf38697d6745b57d29dddb918420fca9e9
parent71d9af8131054750961e213932009b42be6c991a
* config/sh/linux-atomic.asm (ATOMIC_TEST_AND_SET): Take
unsigned extension into account.
(ATOMIC_COMPARE_AND_SWAP): Likewise.
(ATOMIC_FETCH_AND_OP, ATOMIC_FETCH_AND_COMBOP): Likewise.
Do computations on a scratch register.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133405 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/sh/linux-atomic.asm