Fix wrong-code issues of RX atomic operations.
authorOleg Endo <olegendo@gcc.gnu.org>
Tue, 31 May 2016 15:06:25 +0000 (15:06 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Tue, 31 May 2016 15:06:25 +0000 (15:06 +0000)
commit0e07cb7f7d43282f601820a149eec66ea99a541f
tree317adf2d4cf5b5acdcf536be2fb79f44646379aa
parentd6439e085433332e60145d535e98f599d7889808
Fix wrong-code issues of RX atomic operations.

gcc/
* config/rx/rx.md (FETCHOP_NO_MINUS): New code iterator.
(atomic_<fetchop_name>_fetchsi): Extract minus operator into ...
(atomic_sub_fetchsi): ... this new pattern.
(mvtc): Add CC_REG clobber.

From-SVN: r236926
gcc/ChangeLog
gcc/config/rx/rx.md