This commit was manufactured by cvs2svn to create branch 'gdb_7_0-branch'.
[external/binutils.git] / sim / testsuite / sim / cris / asm / x9-v10.ms
1 #mach: crisv10
2 #ld: --section-start=.text=0
3 #output: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 0\n
4 #output: 4 0 0 0 0 0 0 0 0 0 1 0 0 0 0 * ixnzvc 1\n
5 #output: 10 0 0 0 0 0 0 0 0 0 1 0 0 0 0 * ixnzvc 4\n
6 #output: 12 0 0 0 0 0 0 0 0 0 1 0 0 0 0 * ixnzvc 1\n
7 #sim: --cris-trace=basic
8
9 ; Check that "adds.w [$pc+$r9.w],$pc" gets 4 cycles.
10
11  .include "testutils.inc"
12  startnostack
13  moveq 1,r9
14  adds.w [$pc+$r9.w],$pc
15 0:
16  .word 1f-0b
17  .word 2f-0b
18  .word 1f-0b
19 1:
20  break 15
21 2:
22  nop
23  break 15