binutils-gdb/include/elf
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
..
aarch64.h [1/2][GAS][AARCH64]Add BFD_RELOC_AARCH64_TLSLE_LDST8/16/32/64_TPREL_LO12 support in GAS. 2018-03-28 18:03:55 +01:00
alpha.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
arc-cpu.def Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
arc-reloc.def Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
arc.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
arm.h [ARM] Add TLS relocations for FDPIC. 2018-04-25 20:57:02 +00:00
avr.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
bfin.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
ChangeLog-0415
ChangeLog-9103
common.h Add support for detecting Freescale S12Z binaries in readelf. 2018-05-10 12:51:42 +01:00
cr16.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cr16c.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
cris.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
crx.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
d10v.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
d30v.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
dlx.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
dwarf.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
epiphany.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
external.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
fr30.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
frv.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
ft32.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
h8.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
hppa.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
i370.h Reinstate readelf decoding of i860, i960 and i370 relocs 2018-04-17 10:48:58 +09:30
i386.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
i860.h Reinstate readelf decoding of i860, i960 and i370 relocs 2018-04-17 10:48:58 +09:30
i960.h Reinstate readelf decoding of i860, i960 and i370 relocs 2018-04-17 10:48:58 +09:30
ia64.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
internal.h Revert "Use offsets instead of addresses in ELF_SECTION_IN_SEGMENT for non SHT_NOBITS" 2018-06-26 21:28:05 +09:30
ip2k.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
iq2000.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
lm32.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
m32c.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
m32r.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
m68hc11.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
m68k.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
mcore.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
mep.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
metag.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
microblaze.h [MicroBlaze] PIC data text relative 2018-04-17 14:47:13 -07:00
mips.h MIPS/GAS: Split Loongson MMI Instructions from loongson2f/3a 2018-07-20 13:21:33 +01:00
mmix.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
mn10200.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
mn10300.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
moxie.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
msp430.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
mt.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
nds32.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
nfp.h This patch adds support to objdump for disassembly of NFP (Netronome Flow Processor) ELF files (.nffw) as well as some basic readelf support. 2018-04-30 17:02:59 +01:00
nios2.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
or1k.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
pj.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
ppc64.h PowerPC inline PLT call support 2018-04-09 17:25:20 +09:30
ppc.h PowerPC inline PLT call support 2018-04-09 17:25:20 +09:30
pru.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
reloc-macros.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
riscv.h RISC-V: Add RV32E support. 2018-05-18 14:03:18 -07:00
rl78.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
rx.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
s12z.h Add support for the Freescale s12z processor. 2018-05-18 15:26:18 +01:00
s390.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
score.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
sh.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
sparc.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
spu.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
tic6x-attrs.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
tic6x.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
tilegx.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
tilepro.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
v850.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
vax.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
visium.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
vxworks.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
wasm32.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
x86-64.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
xc16x.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
xgate.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
xstormy16.h Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
xtensa.h xtensa: use property tables for correct disassembly 2018-06-04 10:38:55 -07:00