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: c 0 0 0 24 0 0 0 0 0 0 0 0 0 0 * ixnzvc 4\n 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 10#output: 20 0 0 0 24 0 24 0 0 0 0 0 0 0 0 * ixnzvc 4\n 11#sim: --cris-trace=basic 12 13; With a "--cris-trace=all", cycles for the third and last line would be 5. 14 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 290: 30 .dword 0b 31 .dword 0b 32