mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 14:39:09 +08:00
Add test of M32R seth instruction
This commit is contained in:
@ -1,7 +1,12 @@
|
|||||||
2004-04-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
|
2004-04-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
|
||||||
|
|
||||||
* gas/m32r/parallel-2.s, gas/m32r/parallel-2.d: Add a new test
|
* gas/m32r/parallel-2.s: New file: Test case for parallel code.
|
||||||
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>
|
2004-04-01 Asgari Jinia <asgarij@kpitcummins.com>
|
||||||
|
|
||||||
|
@ -6,4 +6,5 @@ if [istarget m32r*-*-*] {
|
|||||||
run_dump_test "uppercase"
|
run_dump_test "uppercase"
|
||||||
run_dump_test "fslot"
|
run_dump_test "fslot"
|
||||||
run_dump_test "signed-relocs"
|
run_dump_test "signed-relocs"
|
||||||
|
run_dump_test "seth"
|
||||||
}
|
}
|
||||||
|
8
gas/testsuite/gas/m32r/seth.d
Normal file
8
gas/testsuite/gas/m32r/seth.d
Normal file
@ -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
Normal file
3
gas/testsuite/gas/m32r/seth.s
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.text
|
||||||
|
seth r0, #shigh(0xffff8000)
|
||||||
|
.end
|
Reference in New Issue
Block a user