On 7/27/25 2:50 PM, Aleksandar Rakic wrote:
From: Aleksandar Rakic <aleksandar.ra...@htecgroup.com>

There are no platforms nor simulators for MSA and microMIPS R5 so
turning off this support for now.

gcc/ChangeLog:

        * config/mips/mips.cc (mips_option_override): Error out for
        -mmicromips -mmsa for MIPSr5 and less.
In general policy has been to deprecate in release X and remove in release X+1.

So that would imply that rather than a hard error you would want a warning for this kind of change. You'd follow up in the next release cycle and remove the relevant code.

But I think the bigger question here is whether or not the MSA or micromips-r5 support is useful. We tend to be cautious (perhaps too cautious) in removing support for old systems. So just because we don't have simulators or we don't have hardware, doesn't inherently mean we should error out if someone where to try this combination.

The question we need to ask is whether or not MSA+R5+MICROMIPS makes sense at all. If not, then we can deprecate. If it's just that we can't test, then it's not so clear.

Jeff

Reply via email to