|
From: Oleg E. <ole...@t-...> - 2025-02-16 05:35:53
|
On Sat, 2025-02-15 at 19:34 +0000, Mark Burkley wrote: > > The version of GCC I'm using at the moment is very old (4.4.0). I have a > side project to update it to 13.2 which did take quite a bit of work since > the condition code handling completely changed. But it's emitting working > code now in most cases. Sounds like I should just keep going with that > initiative. > Ah right, there was the removal of the old CC0 handling stuff, too. Some upstream backends like M68K were also affected by that change (somebody had to be "motivated really hard" to port it over to the CCmode thing). > I'm hoping the move to GCC 14 or even 15 will be easier once > I have a stable version on 13. I see LRA is the default since GCC 7 and I > didn't do anything to select reload so hopefully the condition code rework > I've done is most of what I need to do there. The 9900 regs are > orthogonal so I maybe that makes it less problematic. > > Unless your backend defines TARGET_LRA_P to return false, it should be using LRA by default. If it just works out-of-the-box -- good for you! Lucky! :) (I realize this is probably not the best place to discuss GCC issues. If you want, please reply to me directly) Best regards, Oleg Endo |