On 11/04/2014 12:25 PM, Richard Henderson wrote:
On 11/04/2014 05:28 PM, Andrew MacLeod wrote:
+ bool
+ default_can_compare_and_swap_p (machine_mode mode, bool allow_libcall)
+ {
+   return can_compare_and_swap_p (mode, allow_libcall);
+ }
This is silly.  I think the problem you point out can be better fixed by moving
the can_compare_and_swap_p prototype elsewhere.

yeah, except it uses some of the optab table stuff that is static to optabs.c... so the basic functionality remains there. we could stick a wrapper somewhere else... but thats effectively what this does.
we are asking a question about target behaviour...

Im open to other suggestions..

Andrew

Reply via email to