diff options
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/cris/rd-pcplus.d | 16 | ||||
-rw-r--r-- | gas/testsuite/gas/cris/rd-pcplus.s | 10 |
3 files changed, 30 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 44eb523..849c885 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -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. diff --git a/gas/testsuite/gas/cris/rd-pcplus.d b/gas/testsuite/gas/cris/rd-pcplus.d new file mode 100644 index 0000000..7cbd2ae --- /dev/null +++ b/gas/testsuite/gas/cris/rd-pcplus.d @@ -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 diff --git a/gas/testsuite/gas/cris/rd-pcplus.s b/gas/testsuite/gas/cris/rd-pcplus.s new file mode 100644 index 0000000..b4a2661 --- /dev/null +++ b/gas/testsuite/gas/cris/rd-pcplus.s @@ -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 |