Add support to the ARC disassembler for selecting instruction classes.
[deliverable/binutils-gdb.git] / gas / testsuite / gas / nios2 / cdx_relax.s
1 # Test relaxation of beqz.n, bnez.n, and br.n instructions to
2 # equivalent 32-bit instructions when the branch target is out of range.
3
4 .text
5
6 # These branches are within range.
7 label0:
8 bnez.n r2, label1
9 beqz.n r3, label1
10 br.n label1
11
12 # These branches have an out-of-range positive offset.
13 label1:
14 bnez.n r2, label2
15 beqz.n r3, label2
16 br.n label2
17
18 .rept 300
19 nop
20 .endr
21
22 # These branches have an out-of-range negative offset.
23 label2:
24 bnez.n r2, label1
25 beqz.n r3, label1
26 br.n label1
27
This page took 0.030228 seconds and 4 git commands to generate.