MediaTek Hoping To Bring nanoMIPS Support Upstream Into GCC
The MIPS architecture itself is now abandoned upstream to focus on RISC-V. MIPS Technologies formerly tried unsuccessfully (never finished) to get nanoMIPS support into the upstream GCC compiler but rather relying on their out-of-tree toolchain. MediaTek though is now working on nanoMIPS compiler support. MediaTek engineers haven't mentioned why in 2021 they are working on nanoMIPS support for upstream GCC, but presumably it's due to still relying on that ISA within the control processors of their modems.
Sent out on Sunday was this initial patch series for nanoMIPS for the GNU Compiler Collect. Paired with MediaTek's out-of-tree newlib/binutils/gold code, it's enough to yield a working nanomips-elf toolchain. The code itself is still tentative along with some open design questions over the MIPS vs. nanoMIPS code sharing in GCC, but we'll see now if there is enough effort to get the support upstreamed even with the waning interest in (nano)MIPS.