* gas/cris/rd-pcplus.s, gas/cris/rd-pcplus.d: New test.

This commit is contained in:
Hans-Peter Nilsson 2005-12-05 23:26:23 +00:00
parent b25748f8ec
commit 63e199b91a
3 changed files with 30 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2005-12-06 Hans-Peter Nilsson <hp@axis.com>
* gas/cris/rd-pcplus.s, gas/cris/rd-pcplus.d: New test.
2005-11-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* gas/macros/purge.l: Increment line numbers.

View file

@ -0,0 +1,16 @@
#as: --em=criself --march=v10 --underscore
#objdump: -dr
.*: file format elf32-us-cris
Disassembly of section \.text:
00000000 <a>:
[ ]+0:[ ]+4715 3fbe[ ]+move \[pc=r7\+r1\.b\],srp
[ ]+4:[ ]+6ffd 0000 0100 3f0e[ ]+move \[pc=pc\+10000 <a\+0x10000>\],p0
[ ]+c:[ ]+4385 6f5e[ ]+move\.d \[pc=r3\+r8\.b\],r5
[ ]+10:[ ]+6ffd 0000 0100 6fbe[ ]+move\.d \[pc=pc\+10000 <a\+0x10000>\],r11
[ ]+18:[ ]+6f5d 0000 0a00 3f1e[ ]+move \[pc=r5\+a0000 <a\+0xa0000>\],vr
[ ]+20:[ ]+5f7d 8f02 6fde[ ]+move\.d \[pc=r7\+655\],r13
[ ]+26:[ ]+4161 6fae[ ]+move\.d \[pc=r6\+65\],r10
[ ]+2a:[ ]+0f05[ ]+nop

View file

@ -0,0 +1,10 @@
.text
a:
move [$pc=$r7+$r1.b],$srp
move [$pc=$pc+65536],$p0
move.d [$pc=$r3+$r8.b],$r5
move.d [$pc=$pc+65536],$r11
move [$pc=$r5+655360],$p1
move.d [$pc=$r7+655],$r13
move.d [$pc=$r6+65],$r10
nop