diff options
author | David Daney <ddaney@caviumnetworks.com> | 2009-08-06 05:24:25 +0000 |
---|---|---|
committer | David Daney <daney@gcc.gnu.org> | 2009-08-06 05:24:25 +0000 |
commit | 40a4a37bd7dab0686d2f36414eebc1b82764ddc5 (patch) | |
tree | 410ada2da163b5b1fc35055380a2bd99d9f04c61 /gcc/tree-ssa-structalias.c | |
parent | 60376e9d194f781b45916c701a9062fe2a25506c (diff) | |
download | gcc-40a4a37bd7dab0686d2f36414eebc1b82764ddc5.zip gcc-40a4a37bd7dab0686d2f36414eebc1b82764ddc5.tar.gz gcc-40a4a37bd7dab0686d2f36414eebc1b82764ddc5.tar.bz2 |
sync.md (sync_compare_and_swap<mode>, [...]): Rewrite calls to mips_output_sync_loop.
2009-08-05 David Daney <ddaney@caviumnetworks.com>
* gcc/config/mips/sync.md (sync_compare_and_swap<mode>,
compare_and_swap_12, sync_add<mode>, sync_<optab>_12,
sync_old_<optab>_12, sync_new_<optab>_12, sync_nand_12,
sync_old_nand_12, sync_new_nand_12, sync_sub<mode>,
sync_old_add<mode>, sync_old_sub<mode>, sync_new_add<mode>,
sync_new_sub<mode>, sync_<optab><mode>, sync_old_<optab><mode>,
sync_new_<optab><mode>, sync_nand<mode>, sync_old_nand<mode>,
sync_new_nand<mode>, sync_lock_test_and_set<mode>,
test_and_set_12): Rewrite calls to mips_output_sync_loop.
* gcc/config/mips/mips-protos.h (mips_output_sync_loop): Make
the prototype declaration match the definition.
* gcc/config/mips/mips.c (mips_output_sync_loop): Emit sync
instructions explicitly. Add barrier_before and operands
parameters.
* gcc/config/mips/mips.h (MIPS_COMPARE_AND_SWAP,
MIPS_COMPARE_AND_SWAP_12, MIPS_SYNC_OP, MIPS_SYNC_OP_12,
MIPS_SYNC_OLD_OP_12, MIPS_SYNC_NEW_OP_12, MIPS_SYNC_OLD_OP,
MIPS_SYNC_NEW_OP, MIPS_SYNC_NAND, MIPS_SYNC_OLD_NAND,
MIPS_SYNC_NEW_NAND, MIPS_SYNC_EXCHANGE,
MIPS_SYNC_EXCHANGE_12): Remove sync instructions.
From-SVN: r150512
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
0 files changed, 0 insertions, 0 deletions