"cc" clobber
David Wohlferd
dw@LimeGreenSocks.com
Mon Feb 1 22:22:00 GMT 2016
On 2/1/2016 6:58 AM, Ulrich Weigand wrote:
> I think on many targets a clobber "cc" works because the backend
> actually defines a register named "cc" to correspond to the flags.
> Therefore the normal handling of clobbering named hard registers
> catches this case as well.
>
> This doesn't work on i386 because there the flags register is called
> "flags" in the back end.
Doh! Of course. This makes perfect sense. Thanks.
dw
More information about the Gcc
mailing list