[PATCH] MIPS: Fix binutils-all tests for r6 triples

Nick Clifton nickc@redhat.com
Mon Nov 13 16:00:57 GMT 2023


Hi YunQiang Su,

> For MIPSr6, MIPS16e is not supported by ISA, and
> microMIPS is not support by binutils, and we have
> no plan to support it. >
> Let's add `-march=from-abi` option to
> mips16-extend-noinsn.d and mixed-mips16-micromips.d.

Patch approved and applied.

Note  - whilst I was looking at this patch I noticed that the
-march=from-abi option was not included in the assembler documentation
so I have committed an extra patch of my own to remedy this.

Cheers
   Nick

diff --git a/gas/doc/c-mips.texi b/gas/doc/c-mips.texi
index f1eee0ed197..3e072513d37 100644
--- a/gas/doc/c-mips.texi
+++ b/gas/doc/c-mips.texi
@@ -468,6 +468,11 @@ For compatibility reasons, @samp{@var{n}x} and @samp{@var{b}fx} are
  accepted as synonyms for @samp{@var{n}f1_1}.  These values are
  deprecated.

+In addition the special name @samp{from-abi} can be used, in which
+case the assembler will select an architecture suitable for whichever
+ABI has been selected, either via the @option{-mabi=} command line
+option or the built in default.
+
  @item -mtune=@var{cpu}
  Schedule and tune for a particular MIPS CPU.  Valid @var{cpu} values are
  identical to @samp{-march=@var{cpu}}.



More information about the Binutils mailing list