Add test of M32R seth instruction
authorNick Clifton <nickc@redhat.com>
Tue, 13 Apr 2004 16:57:50 +0000 (16:57 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 13 Apr 2004 16:57:50 +0000 (16:57 +0000)
gas/testsuite/ChangeLog
gas/testsuite/gas/m32r/m32r.exp
gas/testsuite/gas/m32r/seth.d [new file with mode: 0644]
gas/testsuite/gas/m32r/seth.s [new file with mode: 0644]

index 9ca420c3c02023a8d6bd80c0bc330bbe3fcda398..ec35aa67c02c8cbe7ca7892bd980a85bdff9658b 100644 (file)
@@ -1,7 +1,12 @@
 2004-04-13  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
 
-       * gas/m32r/parallel-2.s, gas/m32r/parallel-2.d: Add a new test
-       case for parallel code.
+       * gas/m32r/parallel-2.s: New file: Test case for parallel code.
+       * gas/m32r/parallel-2.d: New file: Expected results.
+       * gas/m32r/m32r2.exp: Run the test.
+       
+       * gas/m32r/seth.s: New file: Test for seth.
+       * gas/m32r/seth.d: New file: Expected results.
+       * gas/m32r/m32r.exp: Run the new test.
 
 2004-04-01  Asgari Jinia  <asgarij@kpitcummins.com>
 
index 0ac272b13585a5af3fc571350c7019cb80ddcbc0..353f738a3f4f9b2fcba743bcb7df0f3d1a3c3b41 100644 (file)
@@ -6,4 +6,5 @@ if [istarget m32r*-*-*] {
     run_dump_test "uppercase"
     run_dump_test "fslot"
     run_dump_test "signed-relocs"
+    run_dump_test "seth"
 }
diff --git a/gas/testsuite/gas/m32r/seth.d b/gas/testsuite/gas/m32r/seth.d
new file mode 100644 (file)
index 0000000..fd792e5
--- /dev/null
@@ -0,0 +1,8 @@
+#objdump: -dr
+
+.*: +file format .*
+
+Disassembly of section .text:
+
+0+000 <.text>:
+   0:  d0 c0 00 00     seth r0,[#]0x0
diff --git a/gas/testsuite/gas/m32r/seth.s b/gas/testsuite/gas/m32r/seth.s
new file mode 100644 (file)
index 0000000..32160a3
--- /dev/null
@@ -0,0 +1,3 @@
+       .text
+       seth    r0, #shigh(0xffff8000)
+       .end