re PR target/48986 (Missed optimization in atomic decrement on x86/x64)
authorJakub Jelinek <jakub@redhat.com>
Tue, 17 May 2011 07:37:59 +0000 (09:37 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 17 May 2011 07:37:59 +0000 (09:37 +0200)
commit8637e32a7e451f4ee4b09b868546576b56b7a872
treeeff22f2c453b9e9e8a47143bbd82009f1d7b9224
parent067e2f069d5b5ad051c46766935a42ba59a20d61
re PR target/48986 (Missed optimization in atomic decrement on x86/x64)

PR target/48986
* config/i386/sync.md (sync_old_add<mode>): Relax operand 2
predicate to allow CONST_INT.
(*sync_old_add_cmp<mode>): New insn and peephole2 for it.

From-SVN: r173816
gcc/ChangeLog
gcc/config/i386/sync.md