Error on lmw, lswi and related PowerPC insns when LE
authorAlan Modra <amodra@gmail.com>
Mon, 10 Aug 2020 05:36:43 +0000 (15:06 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 10 Aug 2020 12:22:17 +0000 (21:52 +0930)
commit86c0f617ac5f3a5f4aab76c7f90255254ca27576
tree9436604483d24f1f57d44f9cbe7652958d8eba37
parent9b0ac51b22d0cf900f39e17e615bb22e32720f6e
Error on lmw, lswi and related PowerPC insns when LE

* config/tc-ppc.c (md_assemble): Error for lmw, stmw, lswi, lswx,
stswi, or stswx in little-endian mode.
* testsuite/gas/ppc/476.d,
* testsuite/gas/ppc/476.s: Delete lmw, stmw, lswi, lswx, stswi, stswx.
* testsuite/gas/ppc/a2.d,
* testsuite/gas/ppc/a2.s: Move lmw, stmw, lswi, lswx, stswi, stswx..
* testsuite/gas/ppc/be.d,
* testsuite/gas/ppc/be.s: ..to here, new big-endian only test.
* testsuite/gas/ppc/le_error.d,
* testsuite/gas/ppc/le_error.l: New little-endian test.
* testsuite/gas/ppc/ppc.exp: Run new tests.
gas/ChangeLog
gas/config/tc-ppc.c
gas/testsuite/gas/ppc/476.d
gas/testsuite/gas/ppc/476.s
gas/testsuite/gas/ppc/a2.d
gas/testsuite/gas/ppc/a2.s
gas/testsuite/gas/ppc/be.d [new file with mode: 0644]
gas/testsuite/gas/ppc/be.s [new file with mode: 0644]
gas/testsuite/gas/ppc/le_error.d [new file with mode: 0644]
gas/testsuite/gas/ppc/le_error.l [new file with mode: 0644]
gas/testsuite/gas/ppc/ppc.exp