On 10/19/2011 05:43 PM, Andrew MacLeod wrote:
> * optabs.h (direct_optab_index): Replace DOI_atomic_compare_exchange
> with DOI_atomic_compare_and_swap.
> (direct_op): Add DOI_atomic_compare_and_swap.
> * genopinit.c: Set atomic_compare_and_swap_optab.
> * expr.h (expa
OK, here's the updated patch.
I also made the changes to the C++ include files to use
__atomic_compare_exchange in the header file.
I think I covered everything that was mentioned previously...
Bootstraps and no new regressions on x86_64-unknown-linux-gnu.
Andrew
* optabs.h (direct_o