diff options
author | Jan Beulich <jbeulich@novell.com> | 2005-02-17 07:43:12 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2005-02-17 07:43:12 +0000 |
commit | 26b810ce0ecf8fed7d271047f20183ff16034846 (patch) | |
tree | 9a36f3382f94fb7a1a6462abae5da25098494392 /gas/testsuite | |
parent | a348ae870a061245863c765e2377a33f51ca3dc5 (diff) | |
download | gdb-26b810ce0ecf8fed7d271047f20183ff16034846.zip gdb-26b810ce0ecf8fed7d271047f20183ff16034846.tar.gz gdb-26b810ce0ecf8fed7d271047f20183ff16034846.tar.bz2 |
gas/
2005-02-17 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (ia64_parse_name): Don't advance 'name' when
parsing inN, locN, outN. Set 'idx' to offset register number starts
at. Don't handle numbers with leading zeroes or beyond 95. Remove
pointless cast.
gas/testsuite/
2005-02-17 Jan Beulich <jbeulich@novell.com>
* gas/ia64/nostkreg.[ds]: 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/ia64.exp | 3 | ||||
-rw-r--r-- | gas/testsuite/gas/ia64/nostkreg.d | 16 | ||||
-rw-r--r-- | gas/testsuite/gas/ia64/nostkreg.s | 9 |
4 files changed, 32 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index d93c49d..680365d 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2005-02-17 Jan Beulich <jbeulich@novell.com> + + * gas/ia64/nostkreg.[ds]: New. + * gas/ia64/ia64.exp: Run new test. + 2005-02-16 Alan Modra <amodra@bigpond.net.au> * gas/all/gas.exp (quad): Don't run on i960. diff --git a/gas/testsuite/gas/ia64/ia64.exp b/gas/testsuite/gas/ia64/ia64.exp index 2968622..0f1ec68 100644 --- a/gas/testsuite/gas/ia64/ia64.exp +++ b/gas/testsuite/gas/ia64/ia64.exp @@ -46,7 +46,8 @@ if [istarget "ia64-*"] then { run_dump_test "ldxmov-1" run_list_test "ldxmov-2" "" run_dump_test "ltoff22x-1" - + + run_dump_test "nostkreg" run_list_test "invalid-ar" "" run_dump_test "dependency-1" diff --git a/gas/testsuite/gas/ia64/nostkreg.d b/gas/testsuite/gas/ia64/nostkreg.d new file mode 100644 index 0000000..e1eee70 --- /dev/null +++ b/gas/testsuite/gas/ia64/nostkreg.d @@ -0,0 +1,16 @@ +#objdump: -dr +#name: ia64 not stacked registers + +.*: +file format .* + +Disassembly of section \.text: + +0+000 <_start>: +[[:space:]]*[[:xdigit:]]+:[[:space:][:xdigit:]]+\[M[IM]I\][[:space:]]+mov[[:space:]]+r5=0 +[[:space:]]+0:[[:space:]]+IMM22[[:space:]]+in00 +[[:space:]]+1:[[:space:]]+IMM22[[:space:]]+loc96 +[[:space:]]*[[:xdigit:]]+:[[:space:][:xdigit:]]+mov[[:space:]]+r6=0 +[[:space:]]*[[:xdigit:]]+:[[:space:][:xdigit:]]+mov[[:space:]]+r7=r32 +[[:space:]]*[[:xdigit:]]+:[[:space:][:xdigit:]]+\[M[IM]B\][[:space:]]+mov[[:space:]]+r8=r34 +[[:space:]]*[[:xdigit:]]+:[[:space:][:xdigit:]]+mov[[:space:]]+r9=r36 +[[:space:]]*[[:xdigit:]]+:[[:space:][:xdigit:]]+br\.ret\.sptk\.few[[:space:]]+(b0|rp);; diff --git a/gas/testsuite/gas/ia64/nostkreg.s b/gas/testsuite/gas/ia64/nostkreg.s new file mode 100644 index 0000000..ecdba2b --- /dev/null +++ b/gas/testsuite/gas/ia64/nostkreg.s @@ -0,0 +1,9 @@ +_start: + mov r5 = in00 + mov r6 = loc96 + .regstk 2, 6, 2, 8 + .rotr in0I[2], loc1L[2], out2O[2] + mov r7 = in0I[0] + mov r8 = loc1L[0] + mov r9 = out2O[0] + br.ret.sptk rp |