This patch adds support for the micromips and nomicromips attributes for MIPS targets.
|1277–1278 ↗||(On Diff #99703)|
I think we can improve this to:
"instructs the backend to generate or not to generate microMIPS code for that function."
|5945 ↗||(On Diff #99703)|
This is incorrect. microMIPS can be used to support interrupt handlers as the instruction set supports returning from an exception with 'eret'. MIPS16e lacks the 'eret' instruction, so it cannot be used with an interrupt handler function.
Aside: it is implementation dependant which ISAmode is used when an interrupt occurs on a processor supporting microMIPS and MIPS32R3 from my reading of the specification.