Deprecating the experimental microMIPS64R6 backend

Hi all,

I plan to deprecate the experimental microMIPS64R6 backend for the 5.0 release
and remove it after the release.

Currently there are no CPUs that use that particular sub-ISA which makes it difficult
to justify the maintenance and parallel development effort.

If there was a CPU design produced that did use microMIPS64R6, the backend could
be restored from the archive.

Any comments or objections?

Thanks,
Simon

Are there any microMIPS or MIPS16 CPUs in the wild? There is a lot of complexity in the MIPS back end to handle these, but I’ve never seen one (and support for the far more common MIPS IV CPUs has suffered as a result of the back end focusing on these variants).

David

The Microchip PIC32 family[1] support microMIPS, the m62xxx cpus support
microMIPS32R6[2] and the interAptiv[3] series of chips support MIPS16. All are
currently available.

If you're aware of any bugs or existing ones for the MIPS backend that need
addressing, can you bring them to my attention?

Thanks,
Simon

[1] http://ww1.microchip.com/downloads/en/DeviceDoc/61192A.pdf
[2] https://www.imgtec.com/mips/warrior/m-class-m6200-and-m6250-processor-cores/
[3] https://www.imgtec.com/mips/aptiv/interaptiv/ (datasheet, page 2)

For MIPS16, more than merely "available" - my router (a pretty common
model, especially for OpenWRT) supports it.

troot@OpenWrt:~# cat /proc/cpuinfo
system type : Qualcomm Atheros QCA9558 ver 1 rev 0
machine : TP-LINK Archer C7
processor : 0
cpu model : MIPS 74Kc V5.0
BogoMIPS : 358.80
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc,
0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16 dsp dsp2
shadow register sets : 1
kscratch registers : 0
package : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available

The N32 support patches (all authored by you):

https://reviews.llvm.org/D21070
https://reviews.llvm.org/D21465
https://reviews.llvm.org/D21467
https://reviews.llvm.org/D21292

Are important for a lot of the high-end embedded MIPS stuff, and have been open for about a year.

David