aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.c
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2012-10-01 15:50:09 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>2012-10-01 15:50:09 +0000
commitcd8b6dc554e8ca488ec5d3f975250e29b316397c (patch)
treea9e7aba800558d9f52393d40679b24f9f4b5aa3c /gcc/tree-vectorizer.c
parent992103ad6991bfbd908d10b18b3fba28196ff7a8 (diff)
downloadgcc-cd8b6dc554e8ca488ec5d3f975250e29b316397c.zip
gcc-cd8b6dc554e8ca488ec5d3f975250e29b316397c.tar.gz
gcc-cd8b6dc554e8ca488ec5d3f975250e29b316397c.tar.bz2
re PR target/54087 (__atomic_fetch_add does not use xadd instruction)
2012-10-01 Andrew MacLeod <amacleod@redhat.com> PR target/54087 * optabs.c (expand_atomic_fetch_op_no_fallback): New. Factored code from expand_atomic_fetch_op. (expand_atomic_fetch_op): Try atomic_{add|sub} operations in terms of the other one if direct opcode fails. * testsuite/gcc.dg/pr54087.c: New testcase for atomic_sub -> atomic_add when atomic_sub fails. From-SVN: r191929
Diffstat (limited to 'gcc/tree-vectorizer.c')
0 files changed, 0 insertions, 0 deletions