diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2011-11-29 19:42:44 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 2011-11-29 19:42:44 +0000 |
commit | 91f59d8bf44e24f67a9194dfdfdbad4b7279b772 (patch) | |
tree | 0941a5f3f350e92aa547e0c78f48f37d4ee5250d /libjava/classpath | |
parent | 421ecf992e5c8971c4b47b39e71bc622527b859d (diff) | |
download | gcc-91f59d8bf44e24f67a9194dfdfdbad4b7279b772.zip gcc-91f59d8bf44e24f67a9194dfdfdbad4b7279b772.tar.gz gcc-91f59d8bf44e24f67a9194dfdfdbad4b7279b772.tar.bz2 |
re PR target/50123 (cmpxchg generated for atomic and with zero/or with -1)
2011-11-29 Andrew MacLeod <amacleod@redhat.com>
PR target/50123
* optabs.c (maybe_optimize_fetch_op): New. Look for more optimal
instructions for a FECTH_OP or OP_FECTH sequence.
(expand_atomic_fetch_op): Call maybe_optimize_fetch_op.
* testsuite/gcc.dg/atomic-op-optimize.c: New. Test for optimizations.
From-SVN: r181815
Diffstat (limited to 'libjava/classpath')
0 files changed, 0 insertions, 0 deletions