summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/bpf/jump32-pseudoc.s
blob: 07311657ebec7db96252d71d2191987d159367b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Tests for the eBPF JUMP32 pseudo-C instructions
        .text
        goto 2f
        r1 += r1
1:      if w3 == 3 goto 2f
        if w3 == w4 goto 2f
2:      if w3 >= 3 goto 1b
        if w3 >= w4 goto 1b
1:      if w3 < 3 goto 1f
        if w3 < w4 goto 1f
1:      if w3 <= 3 goto 1f
        if w3 <= w4 goto 1f
1:      if w3 & 3 goto 1f
        if w3 & w4 goto 1f
1:      if w3 != 3 goto 1f
        if w3 != w4 goto 1f
1:      if w3 s> 3 goto 1f
        if w3 s> w4 goto 1f
1:      if w3 s>= 3 goto 1f
        if w3 s>= w4 goto 1f
1:      if w3 s< 3 goto 1f
        if w3 s< w4 goto 1f
1:      if w3 s<= 3 goto 1f
        if w3 s<= w4 goto 1f
1: