This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed] MIPS/GAS/testsuite: Add RESTORE instruction to `mips16e' test
- From: "Maciej W. Rozycki" <macro at imgtec dot com>
- To: <binutils at sourceware dot org>
- Date: Tue, 20 Dec 2016 12:15:59 +0000
- Subject: [committed] MIPS/GAS/testsuite: Add RESTORE instruction to `mips16e' test
- Authentication-results: sourceware.org; auth=none
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.
---
binutils-mips16e-gas-test-restore.diff
Index: binutils/gas/testsuite/gas/mips/mips16e.d
===================================================================
--- binutils.orig/gas/testsuite/gas/mips/mips16e.d 2016-12-15 20:30:03.000000000 +0000
+++ binutils/gas/testsuite/gas/mips/mips16e.d 2016-12-17 15:23:03.799424689 +0000
@@ -47,4 +47,4 @@
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
Index: binutils/gas/testsuite/gas/mips/mips16e.s
===================================================================
--- binutils.orig/gas/testsuite/gas/mips/mips16e.s 2016-12-15 19:20:07.000000000 +0000
+++ binutils/gas/testsuite/gas/mips/mips16e.s 2016-12-17 15:18:30.946278071 +0000
@@ -55,4 +55,6 @@
save $4-$7,$31,$17,$18-$30,16
save $4-$5,$31,$16,$18,$19,$20,16,$6-$7
+ restore $31,8
+
.p2align 4