diff options
author | Maciej W. Rozycki <macro@imgtec.com> | 2016-12-20 11:34:47 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@imgtec.com> | 2016-12-20 12:03:41 +0000 |
commit | 853faf5cc34cfac362f33939543ce569c8ba6341 (patch) | |
tree | 4e8c525ba3176d29259c37a5ca983bb21119e538 /gas | |
parent | c60aaac10f9a185541b7f51a3353b95a6c764a4b (diff) | |
download | gdb-853faf5cc34cfac362f33939543ce569c8ba6341.zip gdb-853faf5cc34cfac362f33939543ce569c8ba6341.tar.gz gdb-853faf5cc34cfac362f33939543ce569c8ba6341.tar.bz2 |
MIPS/GAS/testsuite: Add RESTORE instruction to `mips16e' test
Add a RESTORE instruction smoke test to the `mips16e' GAS test.
gas/
* testsuite/gas/mips/mips16e.s: Add a RESTORE instruction.
* testsuite/gas/mips/mips16e.d: Adjust accordingly.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips16e.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips16e.s | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 854dc00..0652b1a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,10 @@ 2016-12-20 Maciej W. Rozycki <macro@imgtec.com> + * testsuite/gas/mips/mips16e.s: Add a RESTORE instruction. + * testsuite/gas/mips/mips16e.d: Adjust accordingly. + +2016-12-20 Maciej W. Rozycki <macro@imgtec.com> + * testsuite/gas/mips/mips16.d: Adjust test for multiple MIPS16 ISA testing. * testsuite/gas/mips/mips16-64.d: Adjust test for multiple diff --git a/gas/testsuite/gas/mips/mips16e.d b/gas/testsuite/gas/mips/mips16e.d index 53aa0d3..b1d73af 100644 --- a/gas/testsuite/gas/mips/mips16e.d +++ b/gas/testsuite/gas/mips/mips16e.d @@ -47,4 +47,4 @@ Disassembly of section \.text: 0+0052 <[^>]*> f30c 64f2 save \$4-\$6,16,\$31,\$16-\$20 0+0056 <[^>]*> f70e 64d2 save \$4-\$7,16,\$31,\$17-\$30 0+005a <[^>]*> f30a 64e2 save \$4-\$5,16,\$31,\$16,\$18-\$20,\$6-\$7 -0+005e <[^>]*> 6500 nop +0+005e <[^>]*> 6441 restore 8,\$31 diff --git a/gas/testsuite/gas/mips/mips16e.s b/gas/testsuite/gas/mips/mips16e.s index 72e2d09..fc3c9b0 100644 --- a/gas/testsuite/gas/mips/mips16e.s +++ b/gas/testsuite/gas/mips/mips16e.s @@ -55,4 +55,6 @@ stuff: save $4-$7,$31,$17,$18-$30,16 save $4-$5,$31,$16,$18,$19,$20,16,$6-$7 + restore $31,8 + .p2align 4 |