diff options
author | Nick Clifton <nickc@redhat.com> | 2004-04-13 16:47:58 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2004-04-13 16:47:58 +0000 |
commit | 097dba1357327309c5d9f14bc85d977651ee929f (patch) | |
tree | 59f7753c92e7fc0e15888bbd293402083f6c9db6 /gas/testsuite | |
parent | 58e23df49e9b21490da4f8e57cfb058b9a3c0e9a (diff) | |
download | gdb-097dba1357327309c5d9f14bc85d977651ee929f.zip gdb-097dba1357327309c5d9f14bc85d977651ee929f.tar.gz gdb-097dba1357327309c5d9f14bc85d977651ee929f.tar.bz2 |
Fix inifnite loop problem with M32R port
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/m32r/m32r2.exp | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/m32r/parallel-2.d | 10 | ||||
-rw-r--r-- | gas/testsuite/gas/m32r/parallel-2.s | 7 |
4 files changed, 23 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index febbce8..9ca420c 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-04-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + * gas/m32r/parallel-2.s, gas/m32r/parallel-2.d: Add a new test + case for parallel code. + 2004-04-01 Asgari Jinia <asgarij@kpitcummins.com> * gas/sh/renesas-1.s, gas/sh/renesas-1.d: New test for -renesas diff --git a/gas/testsuite/gas/m32r/m32r2.exp b/gas/testsuite/gas/m32r/m32r2.exp index 03a160a..f5f7415 100644 --- a/gas/testsuite/gas/m32r/m32r2.exp +++ b/gas/testsuite/gas/m32r/m32r2.exp @@ -2,4 +2,5 @@ if [istarget m32r*-*-*] { run_dump_test "m32r2" + run_dump_test "parallel-2" } diff --git a/gas/testsuite/gas/m32r/parallel-2.d b/gas/testsuite/gas/m32r/parallel-2.d new file mode 100644 index 0000000..5638c33 --- /dev/null +++ b/gas/testsuite/gas/m32r/parallel-2.d @@ -0,0 +1,10 @@ +#as: -m32r2 -O +#objdump: -dr + +.*: +file format .* + +Disassembly of section .text: + +0+0000 <test>: + 0: 04 a5 24 46 add r4,r5 -> st r4,@r6 + 4: 7c ff c6 04 bc 0 <test> \|\| addi r6,[#]4 diff --git a/gas/testsuite/gas/m32r/parallel-2.s b/gas/testsuite/gas/m32r/parallel-2.s new file mode 100644 index 0000000..7ea40c2 --- /dev/null +++ b/gas/testsuite/gas/m32r/parallel-2.s @@ -0,0 +1,7 @@ + .text +test: + add r4,r5 + st r4,@(r6) + addi r6,#4 + .debugsym .LM568 + bc.s test |