From: Hans-Peter Nilsson Date: Mon, 5 Dec 2005 23:26:23 +0000 (+0000) Subject: * gas/cris/rd-pcplus.s, gas/cris/rd-pcplus.d: New test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=63e199b91a5c7d3051ad0dbd41d5e8a28d8e0bcf;p=binutils-gdb.git * gas/cris/rd-pcplus.s, gas/cris/rd-pcplus.d: New test. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 44eb5235b3c..849c8853ffc 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2005-12-06 Hans-Peter Nilsson + + * gas/cris/rd-pcplus.s, gas/cris/rd-pcplus.d: New test. + 2005-11-24 John David Anglin * 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 00000000000..7cbd2aed197 --- /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 : +[ ]+0:[ ]+4715 3fbe[ ]+move \[pc=r7\+r1\.b\],srp +[ ]+4:[ ]+6ffd 0000 0100 3f0e[ ]+move \[pc=pc\+10000 \],p0 +[ ]+c:[ ]+4385 6f5e[ ]+move\.d \[pc=r3\+r8\.b\],r5 +[ ]+10:[ ]+6ffd 0000 0100 6fbe[ ]+move\.d \[pc=pc\+10000 \],r11 +[ ]+18:[ ]+6f5d 0000 0a00 3f1e[ ]+move \[pc=r5\+a0000 \],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 00000000000..b4a26612885 --- /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