target-insns.def (atomic_test_and_set): New targetm instruction pattern.
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 28 Jul 2015 20:03:22 +0000 (20:03 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 28 Jul 2015 20:03:22 +0000 (20:03 +0000)
commit3d00045080bdf31878936a5766dbad85f8ad6efe
treeff20c002d1ff5e6b391d7f6b4bb30cc5446ac971
parent2a870875df5b51ff8803dc0062fdcb02d15b364d
target-insns.def (atomic_test_and_set): New targetm instruction pattern.

gcc/
* target-insns.def (atomic_test_and_set): New targetm instruction
pattern.
* optabs.c (maybe_emit_atomic_test_and_set): Use it instead of
HAVE_*/gen_* interface.

From-SVN: r226325
gcc/ChangeLog
gcc/optabs.c
gcc/target-insns.def