Browse Source

Add test of M32R seth instruction

jimb-rda-nptl-branch
Nick Clifton 23 years ago
parent
commit
925d60e5e9
  1. 9
      gas/testsuite/ChangeLog
  2. 1
      gas/testsuite/gas/m32r/m32r.exp
  3. 8
      gas/testsuite/gas/m32r/seth.d
  4. 3
      gas/testsuite/gas/m32r/seth.s

9
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>

1
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"
}

8
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

3
gas/testsuite/gas/m32r/seth.s

@ -0,0 +1,3 @@
.text
seth r0, #shigh(0xffff8000)
.end
Loading…
Cancel
Save