diff mbox

[DOC,MIPS] add microMIPS option into doc

Message ID 1352947688-1368-1-git-send-email-proljc@gmail.com
State New
Headers show

Commit Message

Jia Liu Nov. 15, 2012, 2:48 a.m. UTC
Hi all,

Little change, add microMIPS option.

Please checkin if it is OK.

Regards,
Jia


2012-11-15  Jia Liu  <proljc@gmail.com>

       * gcc/doc/invoke.texi: Add microMIPS option.


Signed-off-by: Jia Liu <proljc@gmail.com>
---
 gcc/doc/invoke.texi |    7 +++++++
 1 file changed, 7 insertions(+)

Comments

Richard Sandiford Nov. 15, 2012, 9:06 p.m. UTC | #1
Jia Liu <proljc@gmail.com> writes:
> 2012-11-15  Jia Liu  <proljc@gmail.com>
>
>        * gcc/doc/invoke.texi: Add microMIPS option.

I'd rather leave this until the GCC support is added.  Mentor have some
patches for this, but I'm afraid I keep finding things to complain about...

FWIW, the last on-list discussion about it was:

    http://gcc.gnu.org/ml/gcc-patches/2012-07/msg00972.html

A lot of the comments were about the length calculation, so I suggested
off-list that we could add the core support while conservatively treating
all single instructions as having length 4.  Then the length calculation
could be added as a separate patch.

If you're interested in picking that patch up, maybe you could coordinate
with Catherine (cc:ed).

Richard
diff mbox

Patch

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index e019e3d..3a3e9ea 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -750,6 +750,7 @@  Objective-C and Objective-C++ Dialects}.
 -mno-float -msingle-float  -mdouble-float  @gol
 -mdsp  -mno-dsp  -mdspr2  -mno-dspr2 @gol
 -mmcu -mmno-mcu @gol
+-mmicromips -mno-micromips @gol
 -mfpu=@var{fpu-type} @gol
 -msmartmips  -mno-smartmips @gol
 -mpaired-single  -mno-paired-single  -mdmx  -mno-mdmx @gol
@@ -16183,6 +16184,12 @@  Use (do not use) MT Multithreading instructions.
 @opindex mno-mcu
 Use (do not use) the MIPS MCU ASE instructions.
 
+@item -mmicromips
+@itemx -mno-micromips
+@opindex mmicromips
+@opindex mno-micromips
+Generate (do not generate) the microMIPS instructions.
+
 @item -mlong64
 @opindex mlong64
 Force @code{long} types to be 64 bits wide.  See @option{-mlong32} for