MIPS16/opcodes: Correct I64/SDRASP opcode's ISA membership
authorMaciej W. Rozycki <macro@imgtec.com>
Tue, 20 Dec 2016 01:50:24 +0000 (01:50 +0000)
committerMaciej W. Rozycki <macro@imgtec.com>
Tue, 20 Dec 2016 11:49:44 +0000 (11:49 +0000)
commitc97dda72b905d5ba9b82004bf4e57dd4cf343147
tree3cfc9d566a46332f58d85bf8f4aba1692f67dae3
parent95f6ac8822ecbad5530c4488ac54fd46b4c658a2
MIPS16/opcodes: Correct I64/SDRASP opcode's ISA membership

Limit the `SD ra, offset(sp)' instruction (I64/SDRASP major/minor
opcode) to the MIPS III rather than MIPS I ISA.  This is a 64-bit
instruction requiring a 64-bit ISA.  This bug has been there since
forever.

opcodes/
* mips16-opc.c (mips16_opcodes): Set membership to I3 rather
than I1 for the SP-relative "sd"/$ra entry (SDRASP minor
opcode).

gas/
* testsuite/gas/mips/mips16-sdrasp.d: New test.
* testsuite/gas/mips/mips16-sdrasp.l: New stderr output.
* testsuite/gas/mips/mips16-sdrasp.s: New test source.
* testsuite/gas/mips/mips.exp: Run the new test.
gas/ChangeLog
gas/testsuite/gas/mips/mips.exp
gas/testsuite/gas/mips/mips16-sdrasp.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips16-sdrasp.l [new file with mode: 0644]
gas/testsuite/gas/mips/mips16-sdrasp.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/mips16-opc.c
This page took 0.031948 seconds and 4 git commands to generate.