This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 08/23/2012 08:59 AM, Andrew MacLeod wrote:Oops, approved but never checked in. Just did so after a new bootstrap/test cycle with no issues.2012-08-23 Andrew MacLeod <amacleod@redhat.com>Ok.
gcc PR target/54087 * optabs.c (expand_atomic_fetch_op_no_fallback): New. Factored code from expand_atomic_fetch_op. (expand_atomic_fetch_op): iTry 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.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |