binutils-gdb/gas/doc
Chenghua Xu 8095d2f70e MIPS/GAS: Split Loongson MMI Instructions from loongson2f/3a
The MMI instruction set has been implemented in many Loongson
processors.  There is a lot of software optimized for MMI.  This patch
splits MMI from loongson2f/3a, and adds GAS and disassembler options for
MMI instructions.

2018-07-20  Chenghua Xu  <paul.hua.gm@gmail.com>
            Maciej W. Rozycki  <macro@mips.com>

bfd/
	* elfxx-mips.c (print_mips_ases): Add MMI extension.

binutils/
	* readelf.c (print_mips_ases): Add MMI extension.

gas/
	* NEWS: Mention MultiMedia extensions Instructions (MMI)
	support.
	* config/tc-mips.c (options): Add OPTION_LOONGSON_MMI and
	OPTION_NO_LOONGSON_MMI.
	(md_longopts): Likewise.
	(mips_ases): Define availability for MMI.
	(mips_convert_ase_flags): Map ASE_LOONGSON_MMI to
	AFL_ASE_LOONGSON_MMI.
	(mips_cpu_info_table): Add ASE_LOONGSON_MMI for loongson2f/3a.
	(md_show_usage): Add help for -mloongson-mmi and
	-mno-loongson-mmi.
	* doc/as.texi: Document -mloongson-mmi, -mno-loongson-mmi.
	* doc/c-mips.texi: Document -mloongson-mmi, -mno-loongson-mmi,
	.set loongson-mmi and .set noloongson-mmi.
	* testsuite/gas/mips/loongson-2f.d: Move mmi test to ...
	* testsuite/gas/mips/loongson-2f-mmi.d: Here.  Add ISA/ASE
	flag verification.
	* testsuite/gas/mips/loongson-2f.s: Move mmi test to ...
	* testsuite/gas/mips/loongson-2f-mmi.s: Here.
	* testsuite/gas/mips/loongson-3a.d: Move mmi test to ...
	* testsuite/gas/mips/loongson-3a-mmi.d: Here.  Add ISA/ASE
	flag verification.
	* testsuite/gas/mips/loongson-3a.s: Move mmi test to ...
	* testsuite/gas/mips/loongson-3a-mmi.s: Here.
	* testsuite/gas/mips/mips.exp: Run loongson-2f-mmi and
	loongson-3a-mmi tests.

include/
	* elf/mips.h (AFL_ASE_MMI): New macro.
	(AFL_ASE_MASK): Update to include AFL_ASE_LOONGSON_MMI.
	* opcode/mips.h (ASE_LOONGSON_MMI): New macro.

opcodes/
	* mips-dis.c (mips_arch_choices): Add MMI to loongson2f and
	loongson3a descriptors.
	(parse_mips_ase_option): Handle -M loongson-mmi option.
	(print_mips_disassembler_options): Document -M loongson-mmi.
	* mips-opc.c (LMMI): New macro.
	(mips_opcodes): Replace IL2F|IL3A marking with LMMI for MMI
	instructions.
2018-07-20 13:21:33 +01:00
..
all.texi Add support for the Freescale s12z processor. 2018-05-18 15:26:18 +01:00
as.texi MIPS/GAS: Split Loongson MMI Instructions from loongson2f/3a 2018-07-20 13:21:33 +01:00
c-aarch64.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-alpha.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-arc.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-arm.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-avr.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-bfin.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-cr16.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-cris.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-d10v.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-d30v.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-epiphany.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-h8300.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-hppa.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-i386.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-ia64.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-ip2k.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-lm32.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-m32c.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-m32r.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-m68hc11.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-m68k.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-metag.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-microblaze.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-mips.texi MIPS/GAS: Split Loongson MMI Instructions from loongson2f/3a 2018-07-20 13:21:33 +01:00
c-mmix.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-msp430.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-mt.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-nds32.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-nios2.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-ns32k.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-pdp11.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-pj.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-ppc.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-pru.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-riscv.texi RISC-V: Add RV32E support. 2018-05-18 14:03:18 -07:00
c-rl78.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-rx.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-s12z.texi Add support for the Freescale s12z processor. 2018-05-18 15:26:18 +01:00
c-s390.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-score.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-sh.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-sparc.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-tic6x.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-tic54x.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-tilegx.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-tilepro.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-v850.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-vax.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-visium.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-wasm32.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-xc16x.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-xgate.texi Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
c-xstormy16.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-xtensa.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-z8k.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-z80.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
fdl.texi
h8.texi Remove i860, i960, bout and aout-adobe targets 2018-04-11 21:49:30 +09:30
internals.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
Makefile.am Regen doc/Makefile.in 2018-06-21 23:00:05 +09:30
Makefile.in Regen doc/Makefile.in 2018-06-21 23:00:05 +09:30