|
From: | Wouter van Gulik |
Subject: | Re: [avr-gcc-list] testsuite saga continues |
Date: | Wed, 30 Jan 2008 11:59:20 +0100 |
User-agent: | Thunderbird 2.0.0.9 (Windows/20071031) |
I have not dug enough into the details of gcc, but I thought that flags were only visible at a low level, such as in the avr.md file, where you are defining the assembly code sequences for different effects. Thus it is possible to define a 16-bit addition instruction with an "add, adc" sequence - but you can't really make use of the carry flag after that.
Yes this is exactly what I wanted to point out. The carry is now only used in handwritten assembler (in avr.md). GCC's RTL does not know anything about the carry bit being available when it's set/cleared and when it's clobbered.
HTH, Wouter
[Prev in Thread] | Current Thread | [Next in Thread] |