MIPS16/opcodes: Make the handling of BREAK and SDBBP consistent
authorMaciej W. Rozycki <macro@imgtec.com>
Fri, 12 May 2017 00:09:36 +0000 (01:09 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Fri, 12 May 2017 00:12:10 +0000 (01:12 +0100)
commita4f89915135f6760917c01dc783de5b674234d84
tree7361b054783a02df06643a4e1cd23e0607fb4680
parentde428bc53335d88c21eda38a823d5a4008468e52
MIPS16/opcodes: Make the handling of BREAK and SDBBP consistent

Disassemble the MIPS16 BREAK and SDBBP instruction's immediate operand
in the hexadecimal rather than decimal numeral system and add respective
operandless variants with an implicit 0 operand, making our handling of
these instructions consistent with how we have processed their regular
MIPS and microMIPS counterparts since forever.

opcodes/
* mips16-opc.c (decode_mips16_operand) <'6'>: Switch the operand
type to hexadecimal.
(mips16_opcodes): Add operandless "break" and "sdbbp" entries.

binutils/
* testsuite/binutils-all/mips/mips16-extend-insn.d: Adjust BREAK
and SDBBP disassembly.

gas/
* testsuite/gas/mips/mips16.d: Adjust BREAK disassembly.
* testsuite/gas/mips/mips16-64@mips16.d: Likewise.
* testsuite/gas/mips/mips16-64.d: Likewise.
* testsuite/gas/mips/mips16-64@mips16-64.d: Likewise.
* testsuite/gas/mips/mips16-macro.d: Likewise.
* testsuite/gas/mips/mips16-64@mips16-macro.d: Likewise.
* testsuite/gas/mips/mips16-sub.d: Likewise.
* testsuite/gas/mips/mips16-32@mips16-sub.d: Likewise.
13 files changed:
binutils/ChangeLog
binutils/testsuite/binutils-all/mips/mips16-extend-insn.d
gas/ChangeLog
gas/testsuite/gas/mips/mips16-32@mips16-sub.d
gas/testsuite/gas/mips/mips16-64.d
gas/testsuite/gas/mips/mips16-64@mips16-64.d
gas/testsuite/gas/mips/mips16-64@mips16-macro.d
gas/testsuite/gas/mips/mips16-64@mips16.d
gas/testsuite/gas/mips/mips16-macro.d
gas/testsuite/gas/mips/mips16-sub.d
gas/testsuite/gas/mips/mips16.d
opcodes/ChangeLog
opcodes/mips16-opc.c
This page took 0.036617 seconds and 4 git commands to generate.