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 0 0 0 0 0 * ixnzvc 1\n
5#output: 6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1\n
6#output: e 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 3\n
7#output: 10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1\n
8#sim: --cris-trace=basic
9
10; Check that "add.d x,pc" gets 3 cycles.
11
12 .include "testutils.inc"
13 startnostack
14 nop
15 nop
16 add.d 1f-0f,$pc
170:
18 nop
191:
20 nop
21 break 15
22