Add sync_compare_and_swapsi and sync_test_and_setsi.
authorDavid Holsgrove <david.holsgrove@xilinx.com>
Wed, 26 Jun 2013 23:55:52 +0000 (23:55 +0000)
committerMichael Eager <eager@gcc.gnu.org>
Wed, 26 Jun 2013 23:55:52 +0000 (23:55 +0000)
commit8eedc3ebe72acf248e30b328368a3ca2d11b0466
tree688170d21085526bea13feec1e99508d973652d0
parent33e84ed46b1dd6330abdfe8bcec9444a1f5d2397
Add sync_compare_and_swapsi and sync_test_and_setsi.

2013-06-16  David Holsgrove <david.holsgrove@xilinx.com>

Add sync_compare_and_swapsi and sync_test_and_setsi.

* gcc/config/microblaze/sync.md: New file.
* gcc/config/microblaze/microblaze.md: Add UNSPEC_SYNC_CAS,
UNSPEC_SYNC_XCHG and include sync.md.
* gcc/config/microblaze/microblaze.c: Add print_operand 'y'.
* gcc/config/microblaze/constraints.md: Add memory_contraint
'Q' which is a single register.

From-SVN: r200443
gcc/ChangeLog
gcc/config/microblaze/constraints.md
gcc/config/microblaze/microblaze.c
gcc/config/microblaze/microblaze.md
gcc/config/microblaze/sync.md [new file with mode: 0644]