15.2.19 Micromips Function Attribute

The mips16 attribute instructs the compiler to generate code for the attributed function using the MIPS16 instruction set, for example:
void __attribute__ ((mips16)) foo(void);