Commit | Line | Data |
---|---|---|
5e1f6430 HPN |
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 | |
9e49fc3d | 5 | #output: c 0 0 0 24 0 0 0 0 0 0 0 0 0 0 * ixnzvc 4\n |
5e1f6430 HPN |
6 | #output: e 0 0 0 24 0 0 0 0 0 0 0 0 0 0 * ixnzvc 1\n |
7 | #output: 10 0 0 0 24 0 0 0 0 0 0 0 0 0 0 * ixnZvc 1\n | |
8 | #output: 14 0 0 0 24 0 24 0 0 0 0 0 0 0 0 * ixnzvc 3\n | |
9 | #output: 18 0 0 0 24 0 24 0 0 0 0 0 0 0 0 * ixnzvc 3\n | |
9e49fc3d | 10 | #output: 20 0 0 0 24 0 24 0 0 0 0 0 0 0 0 * ixnzvc 4\n |
5e1f6430 HPN |
11 | #sim: --cris-trace=basic |
12 | ||
9e49fc3d HPN |
13 | ; With a "--cris-trace=all", cycles for the third and last line would be 5. |
14 | ||
5e1f6430 HPN |
15 | ; Check that prefix+insn are traced as one. |
16 | ||
17 | .include "testutils.inc" | |
18 | startnostack | |
19 | nop | |
20 | move.d [0f],r3 | |
21 | nop | |
22 | moveq 0,r4 | |
23 | move.d [r3+r4.b],r5 | |
24 | move.d [r3+4],r5 | |
25 | bdap.d 0,r3 | |
26 | move.d [r3],r5 | |
27 | break 15 | |
28 | .p2align 2 | |
29 | 0: | |
30 | .dword 0b | |
31 | .dword 0b |