x7-v10.ms 814 B

12345678910111213141516171819202122232425262728293031
  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. ; With a "--cris-trace=all", cycles for the third and last line would be 5.
  13. ; Check that prefix+insn are traced as one.
  14. .include "testutils.inc"
  15. startnostack
  16. nop
  17. move.d [0f],r3
  18. nop
  19. moveq 0,r4
  20. move.d [r3+r4.b],r5
  21. move.d [r3+4],r5
  22. bdap.d 0,r3
  23. move.d [r3],r5
  24. break 15
  25. .p2align 2
  26. 0:
  27. .dword 0b
  28. .dword 0b