]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/testsuite/gas/bpf/mem.d
0e0b498ea91e61099356fb79a5d9055141d6406c
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / bpf / mem.d
1 #as: --EL
2 #objdump: -dr
3 #name: eBPF MEM instructions, modulus lddw
4
5 .*: +file format .*bpf.*
6
7 Disassembly of section .text:
8
9 0+ <.text>:
10 0: 20 00 00 00 ef be 00 00 ldabsw 0xbeef
11 8: 28 00 00 00 ef be 00 00 ldabsh 0xbeef
12 10: 30 00 00 00 ef be 00 00 ldabsb 0xbeef
13 18: 38 00 00 00 ef be 00 00 ldabsdw 0xbeef
14 20: 40 30 00 00 ef be 00 00 ldindw %r3,0xbeef
15 28: 48 50 00 00 ef be 00 00 ldindh %r5,0xbeef
16 30: 50 70 00 00 ef be 00 00 ldindb %r7,0xbeef
17 38: 58 90 00 00 ef be 00 00 ldinddw %r9,0xbeef
18 40: 61 12 ef 7e 00 00 00 00 ldxw %r2,\[%r1\+0x7eef\]
19 48: 69 12 ef 7e 00 00 00 00 ldxh %r2,\[%r1\+0x7eef\]
20 50: 71 12 ef 7e 00 00 00 00 ldxb %r2,\[%r1\+0x7eef\]
21 58: 79 12 fe ff 00 00 00 00 ldxdw %r2,\[%r1\+-2\]
22 60: 63 21 ef 7e 00 00 00 00 stxw \[%r1\+0x7eef\],%r2
23 68: 6b 21 ef 7e 00 00 00 00 stxh \[%r1\+0x7eef\],%r2
24 70: 73 21 ef 7e 00 00 00 00 stxb \[%r1\+0x7eef\],%r2
25 78: 7b 21 fe ff 00 00 00 00 stxdw \[%r1\+-2\],%r2
26 80: 72 01 ef 7e 44 33 22 11 stb \[%r1\+0x7eef\],0x11223344
27 88: 6a 01 ef 7e 44 33 22 11 sth \[%r1\+0x7eef\],0x11223344
28 90: 62 01 ef 7e 44 33 22 11 stw \[%r1\+0x7eef\],0x11223344
29 98: 7a 01 fe ff 44 33 22 11 stdw \[%r1\+-2\],0x11223344