On 1/14/25 11:14 PM, Keith Packard wrote:
lm32 is currently scheduled to be deprecated as it hasn't been converted
to use LRA instead of reload. Deprecation would happen with the gcc-15
release and removal in gcc-16 if nobody steps forward to do the
conversion.
I kinda wondered. Frankly, I treated this adventure as a way to learn
more about GCC internals and do a 'real' patch. I have no practical use
for LatticeMico32 myself. But, I'm happy to have the fix integrated and
provide yet another (even if temporary) target for picolibc testing.
Sounds good. I did something similar with a partial LLVM port for the
v850 chip series. Never pushed it far enough to integrate as the whole
point was to get a better working knowledge of LLVM backend/target
interfaces.
Don't treat this as any kind of vote for continued support; I'll be just
as happy to see gcc's code base be reduced by one not-terribly-relevant
architecture. Deleting code is one of the purest pleasures in software
development.
Yea. For it to be a vote for continued support someone would really
need to step in to do that reload->LRA conversion as the plan of record
is to rip out the old reload code completely.
Those conversions can sometimes be trivially easy and other times mind
bending hard. All the trivially easy ones have been done. I wouldn't
really expect lm32 to be tough, but surprises happen. If you wanted to
get a deeper understanding of how GCC works, that might be a way to do it.
Jeff