relax_cjmp.d 942 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #name: NIOS2 relax_cjmp
  2. #as: -relax-all
  3. #ld: --relax -Trelax_jmp.ld
  4. #source: relax_cjmp.s
  5. #objdump: -dr --prefix-addresses
  6. # Test relaxation of conditional jumps
  7. .*: +file format elf32-littlenios2
  8. Disassembly of section text2:
  9. 00000000 <[^>]*> bge r2,r3,00008000 <[^>]*>
  10. 00000004 <[^>]*> bge r2,r3,00000014 <[^>]*>
  11. 00000008 <[^>]*> movhi at,1
  12. 0000000c <[^>]*> ori at,at,24
  13. 00000010 <[^>]*> jmp at
  14. 00000014 <[^>]*> bge r3,r2,00000020 <sym>
  15. 00000018 <[^>]*> nop
  16. 0000001c <[^>]*> nop
  17. 00000020 <sym> nop
  18. Disassembly of section text1:
  19. 00008000 <[^>]*> beq r2,r3,00010000 <on_border>
  20. 00008004 <[^>]*> bne r2,r3,00008014 <[^>]*>
  21. 00008008 <[^>]*> movhi at,1
  22. 0000800c <[^>]*> ori at,at,24
  23. 00008010 <[^>]*> jmp at
  24. 00008014 <[^>]*> nop
  25. 00008018 <[^>]*> nop
  26. #...
  27. 00010000 <on_border> bne r2,r3,00010018 <in_range>
  28. 00010004 <[^>]*> nop
  29. 00010008 <[^>]*> nop
  30. 0001000c <[^>]*> nop
  31. 00010010 <[^>]*> nop
  32. 00010014 <[^>]*> nop
  33. 00010018 <in_range> nop
  34. #pass