[PATCH, i386]: Implement atomic_fetch_sub

Richard Henderson rth@redhat.com
Fri Aug 3 14:40:00 GMT 2012


On 2012-08-03 01:51, Uros Bizjak wrote:
> The same reasoning goes for dynamic negation: for neg %eax,%eax value
> 0x80000000 stays the same, but we have changed (x)sub to an (x)add in
> the code stream.

So?  Did you think the xadd will trap?


r~



More information about the Gcc-patches mailing list