$ mips64-linux-gcc --version mips64-linux-gcc (GCC) 4.5.0 20091201 (experimental) [trunk revision 154864] The fine GCC documentation says: -mmad -mno-mad Enable (disable) use of the mad, madu and mul instructions, as provided by the R4650 ISA. I get: $ mips64-linux-gcc -march=r5000 -mmad -S hello.c cc1: error: unrecognized command line option "-mmad" $ mips64-linux-gcc -march=r5000 -mno-mad -S hello.c cc1: error: unrecognized command line option "-mno-mad" But these undocumented options are accpeted: $ mips64-linux-gcc -march=r5000 -mad -S hello.c $ mips64-linux-gcc -march=r5000 -mno-ad -S hello.c
Confirmed.
Author: sje Date: Mon Jan 7 22:16:45 2013 New Revision: 194998 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194998 Log: 2013-01-07 Steve Ellcey <sellcey@mips.com> PR target/42661 * config/mips/mips.opt: Change mad to mmad to match documentation. Modified: trunk/gcc/ChangeLog trunk/gcc/config/mips/mips.opt
Fixed on ToT for 4.8 release.