]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/testsuite/gas/bpf/jump-pseudoc.d
bpf: add support for jal/gotol jump instruction with 32-bit target
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / bpf / jump-pseudoc.d
CommitLineData
d218e7fe
JM
1#as: -EL -mdialect=pseudoc
2#objdump: -dr -M dec,pseudoc
2b8c7766 3#source: jump-pseudoc.s
2b8c7766 4#name: eBPF JUMP instructions, pseudoc syntax
d218e7fe
JM
5
6.*: +file format .*bpf.*
7
8Disassembly of section .text:
9
100+ <.text>:
11 0: 05 00 03 00 00 00 00 00 goto 3
12 8: 0f 11 00 00 00 00 00 00 r1\+=r1
13 10: 15 03 01 00 03 00 00 00 if r3==3 goto 1
14 18: 1d 43 00 00 00 00 00 00 if r3==r4 goto 0
15 20: 35 03 fd ff 03 00 00 00 if r3>=3 goto -3
16 28: 3d 43 fc ff 00 00 00 00 if r3>=r4 goto -4
17 30: a5 03 01 00 03 00 00 00 if r3<3 goto 1
18 38: ad 43 00 00 00 00 00 00 if r3<r4 goto 0
19 40: b5 03 01 00 03 00 00 00 if r3<=3 goto 1
20 48: bd 43 00 00 00 00 00 00 if r3<=r4 goto 0
21 50: 45 03 01 00 03 00 00 00 if r3&3 goto 1
22 58: 4d 43 00 00 00 00 00 00 if r3&r4 goto 0
23 60: 55 03 01 00 03 00 00 00 if r3!=3 goto 1
24 68: 5d 43 00 00 00 00 00 00 if r3!=r4 goto 0
25 70: 65 03 01 00 03 00 00 00 if r3s>3 goto 1
26 78: 6d 43 00 00 00 00 00 00 if r3s>r4 goto 0
27 80: 75 03 01 00 03 00 00 00 if r3s>=3 goto 1
28 88: 7d 43 00 00 00 00 00 00 if r3s>=r4 goto 0
29 90: c5 03 01 00 03 00 00 00 if r3s<3 goto 1
30 98: cd 43 00 00 00 00 00 00 if r3s<r4 goto 0
31 a0: d5 03 01 00 03 00 00 00 if r3s<=3 goto 1
32 a8: dd 43 00 00 00 00 00 00 if r3s<=r4 goto 0
c2ca88d7
JM
33 b0: 06 00 00 00 01 00 00 00 gotol 1
34 b8: 06 00 00 00 00 00 00 00 gotol 0