diff options
author | Jan Beulich <jbeulich@novell.com> | 2005-10-12 07:51:08 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2005-10-12 07:51:08 +0000 |
commit | 60d11e55933d976901b573db7d8cf27d713049a0 (patch) | |
tree | 36be66a7243f6f3aa6659b058bf87a8f1b8c46aa /gas/testsuite | |
parent | 3d888abf5b9c74d05a6c7280d905d5d60a2d243c (diff) | |
download | gdb-60d11e55933d976901b573db7d8cf27d713049a0.zip gdb-60d11e55933d976901b573db7d8cf27d713049a0.tar.gz gdb-60d11e55933d976901b573db7d8cf27d713049a0.tar.bz2 |
gas/
2005-10-12 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (dot_reg_val): Use expression_and_evaluate.
(dot_pred_rel): Likewise.
(parse_operand): Likewise.
(ia64_unrecognized_line): Likewise.
(md_operand): Likewise.
gas/testsuite/
2005-10-12 Jan Beulich <jbeulich@novell.com>
* gas/ia64/forward.[sd]: New.
* gas/ia64/ia64.exp: Run new test.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/ia64/forward.d | 15 | ||||
-rw-r--r-- | gas/testsuite/gas/ia64/forward.s | 27 | ||||
-rw-r--r-- | gas/testsuite/gas/ia64/ia64.exp | 1 |
4 files changed, 48 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 5ed3d10..31f56dd 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2005-10-12 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/forward.[sd]: New. + * gas/ia64/ia64.exp: Run new test. + 2005-10-11 Jan Beulich <jbeulich@novell.com> * gas/all/cond.s: Add test for resolution of fully resolvable diff --git a/gas/testsuite/gas/ia64/forward.d b/gas/testsuite/gas/ia64/forward.d new file mode 100644 index 0000000..66aecde --- /dev/null +++ b/gas/testsuite/gas/ia64/forward.d @@ -0,0 +1,15 @@ +# as: -xexplicit +# objdump: -d +# name ia64 forward references + +.*: +file format .* + +Disassembly of section \.text: + +0+ <_start>: +[[:space:]]*[[:xdigit:]]*:[[:space:][:xdigit:]]+\[MIB\][[:space:]]+alloc r31=ar.pfs,12,6,8 +[[:space:]]*[[:xdigit:]]*:[[:space:][:xdigit:]]+[[:space:]]+dep.z r2=1,5,7 +[[:space:]]*[[:xdigit:]]*:[[:space:][:xdigit:]]+\(p0?6\)[[:space:]]+br.cond.sptk.few 0+ <_start>;; +[[:space:]]*[[:xdigit:]]*:[[:space:][:xdigit:]]+\[MIB\][[:space:]]+alloc r31=ar.pfs,0,0,0 +[[:space:]]*[[:xdigit:]]*:[[:space:][:xdigit:]]+[[:space:]]+dep.z r3=-1,1,1 +[[:space:]]*[[:xdigit:]]*:[[:space:][:xdigit:]]+\(p0?7\)[[:space:]]+br(\.cond)?\.sptk(\.few)? [[:xdigit:]]+0 <.*>;; diff --git a/gas/testsuite/gas/ia64/forward.s b/gas/testsuite/gas/ia64/forward.s new file mode 100644 index 0000000..fc2590b --- /dev/null +++ b/gas/testsuite/gas/ia64/forward.s @@ -0,0 +1,27 @@ +two == 2*one +one = 1 +three == 3*one +four = 4*one + +RA == rA +rA = r2 + +PA == pA +pA = p6 + + .text +_start: + alloc r31 = one + 1, two + 2, three + 3, four + 4 + dep.z RA = one, two + 3, three + 4 +(PA) br.sptk _start + ;; + +one = -1 +rA = r3 +pA = p7 + +.L1: + alloc r31 = one + 1, two + 2, three + 3, four - 4 + dep.z RA = one, two + 3, three + 4 +(PA) br.sptk .L1 + ;; diff --git a/gas/testsuite/gas/ia64/ia64.exp b/gas/testsuite/gas/ia64/ia64.exp index 5ecdff3..a6c8646 100644 --- a/gas/testsuite/gas/ia64/ia64.exp +++ b/gas/testsuite/gas/ia64/ia64.exp @@ -78,6 +78,7 @@ if [istarget "ia64-*"] then { run_list_test "alloc" "" run_dump_test "bundling" + run_dump_test "forward" run_list_test "label" "" run_list_test "last" "" run_list_test "no-fit" "" |