diff options
author | Nick Clifton <nickc@redhat.com> | 2004-04-13 16:57:50 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2004-04-13 16:57:50 +0000 |
commit | 925d60e5e9d530cdc4109e94139868cce76cc71f (patch) | |
tree | b83dd6b4f1550a82574c2fd00e952edf2a4cfa43 /gas | |
parent | 097dba1357327309c5d9f14bc85d977651ee929f (diff) | |
download | binutils-925d60e5e9d530cdc4109e94139868cce76cc71f.zip binutils-925d60e5e9d530cdc4109e94139868cce76cc71f.tar.gz binutils-925d60e5e9d530cdc4109e94139868cce76cc71f.tar.bz2 |
Add test of M32R seth instruction
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 9 | ||||
-rw-r--r-- | gas/testsuite/gas/m32r/m32r.exp | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/m32r/seth.d | 8 | ||||
-rw-r--r-- | gas/testsuite/gas/m32r/seth.s | 3 |
4 files changed, 19 insertions, 2 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 9ca420c..ec35aa6 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -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> diff --git a/gas/testsuite/gas/m32r/m32r.exp b/gas/testsuite/gas/m32r/m32r.exp index 0ac272b..353f738 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 0000000..fd792e5 --- /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 0000000..32160a3 --- /dev/null +++ b/gas/testsuite/gas/m32r/seth.s @@ -0,0 +1,3 @@ + .text + seth r0, #shigh(0xffff8000) + .end |