MIPS/GAS/testsuite: Add RESTORE instruction to `mips16e' test
authorMaciej W. Rozycki <macro@imgtec.com>
Tue, 20 Dec 2016 11:34:47 +0000 (11:34 +0000)
committerMaciej W. Rozycki <macro@imgtec.com>
Tue, 20 Dec 2016 12:03:41 +0000 (12:03 +0000)
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.

gas/ChangeLog
gas/testsuite/gas/mips/mips16e.d
gas/testsuite/gas/mips/mips16e.s

index 854dc00075a28dc0b767533453233ef7c9ed4311..0652b1a5285ede1606a151af7a5c80427f866d3a 100644 (file)
@@ -1,3 +1,8 @@
+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
index 53aa0d32aad6bf58e1e41329e66f5355963657e9..b1d73af2eeb1cd9983c198d59d1180c821979c95 100644 (file)
@@ -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
index 72e2d0928fb13cf8256e70897f186451b2dbb30b..fc3c9b096a9d27aadf02a604ca2d4c39d9978077 100644 (file)
@@ -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