From: Nick Clifton Date: Tue, 13 Apr 2004 16:57:50 +0000 (+0000) Subject: Add test of M32R seth instruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=925d60e5e9d530cdc4109e94139868cce76cc71f;p=binutils-gdb.git Add test of M32R seth instruction --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 9ca420c3c02..ec35aa67c02 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,7 +1,12 @@ 2004-04-13 Kazuhiro Inaoka - * 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 diff --git a/gas/testsuite/gas/m32r/m32r.exp b/gas/testsuite/gas/m32r/m32r.exp index 0ac272b1358..353f738a3f4 100644 --- a/gas/testsuite/gas/m32r/m32r.exp +++ b/gas/testsuite/gas/m32r/m32r.exp @@ -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 index 00000000000..fd792e55799 --- /dev/null +++ b/gas/testsuite/gas/m32r/seth.d @@ -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 index 00000000000..32160a3759d --- /dev/null +++ b/gas/testsuite/gas/m32r/seth.s @@ -0,0 +1,3 @@ + .text + seth r0, #shigh(0xffff8000) + .end