> On Apr 22, 2020, at 10:11 PM, Senthil Kumar via Gcc <gcc@gcc.gnu.org> wrote:
> 
> On Wed, Apr 22, 2020 at 10:08 PM Jeff Law <l...@redhat.com> wrote:
>> 
>> On Wed, 2020-04-22 at 22:01 +0530, Senthil Kumar via Gcc wrote:
>>> Hi,
>>> 
>>> I'm thinking about attempting to do the CC0 transition for the
>>> AVR port in my spare time.  I've read the CC0Transition gcc wiki
>>> page, and as the AVR ISA does not have non-condition-code
>>> clobbering arithmetic instructions, concluded that I'd have to
>>> follow the steps outlined for case #2.
>>> 
>>> Are there any other things I need to watch out for?
>> Not offhand.  You might want to look at how Bernd did the m68k though.  I 
>> think a
>> conceptually similar transition would be reasonable for AVR as well as the
>> alternative would be dropping the AVR port.

Last year I did the CC0 conversion for pdp11, which is another case #2 
architecture, and a pretty simple one for the most part.  I followed the Wiki 
fairly closely, with help from Eric.  One thing that may not be relevant is 
that pdp11 has two CCREGS, one for float, one for integers.

        paul


Reply via email to