]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/testsuite/gas/bpf/jump-pseudoc.s
gas: BPF pseudo-c syntax tests
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / bpf / jump-pseudoc.s
1 # Tests for the JUMP pseudo-C instructions
2 .text
3 goto 2f
4 r1 += r1
5 1: if r3 == 3 goto 2f
6 if r3 == r4 goto 2f
7 2: if r3 >= 3 goto 1b
8 if r3 >= r4 goto 1b
9 1: if r3 < 3 goto 1f
10 if r3 < r4 goto 1f
11 1: if r3 <= 3 goto 1f
12 if r3 <= r4 goto 1f
13 1: if r3 & 3 goto 1f
14 if r3 & r4 goto 1f
15 1: if r3 != 3 goto 1f
16 if r3 != r4 goto 1f
17 1: if r3 s> 3 goto 1f
18 if r3 s> r4 goto 1f
19 1: if r3 s>= 3 goto 1f
20 if r3 s>= r4 goto 1f
21 1: if r3 s< 3 goto 1f
22 if r3 s< r4 goto 1f
23 1: if r3 s<= 3 goto 1f
24 if r3 s<= r4 goto 1f
25 1: