[PATCH] atomic_dec_if_positive sign extension fix

Segher Boessenkool segher at kernel.crashing.org
Tue Jan 16 03:01:12 EST 2007


> It also avoids clobbering the carry, you don't know whether a future
> version of GCC will require explicit clobbers for the carry. For now
> they are useless: you can specify "xer" in the clobber list AFAIR but
> no pattern can be split between setters and users of the carry in the
> machine description.

You can specify "cc" in the clobber list already, don't use
"xer" unless you're clobbering something else in the XER.


Segher




More information about the Linuxppc-dev mailing list