On 1/27/21 11:37 AM, Jakub Jelinek wrote: > Would equality comparison against 0 handle the most common cases. > > The user can write it as > __atomic_sub_fetch (x, y, z) == 0 > or > __atomic_fetch_sub (x, y, z) - y == 0 > thouch, so the expansion code would need to be able to cope with both.
Please also keep !=0, <0, <=0, >0, and >=0 in mind. They all can be useful and can be handled with the flags.
OpenPGP_signature
Description: OpenPGP digital signature