5.7.1.7 Dspr2 Option

The -mdspr2 option informs the compiler to revision 2 of the MIPS DSP Application Specific Extensions, which provided instructions designed to improve the performance of DSP and media applications. When the option is in effect, the preprocessor macros _mips_dsp and mips_dspr2 are defined, and the _mips_dsp_rev macro is defined to be 2. This is the default action if no option is specified.

The -mno-dspr2 form of this option disables use of this extension.