summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/bpf/mem.d
blob: 0e0b498ea91e61099356fb79a5d9055141d6406c (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
26
27
28
29
#as: --EL
#objdump: -dr
#name: eBPF MEM instructions, modulus lddw

.*: +file format .*bpf.*

Disassembly of section .text:

0+ <.text>:
   0:	20 00 00 00 ef be 00 00 	ldabsw 0xbeef
   8:	28 00 00 00 ef be 00 00 	ldabsh 0xbeef
  10:	30 00 00 00 ef be 00 00 	ldabsb 0xbeef
  18:	38 00 00 00 ef be 00 00 	ldabsdw 0xbeef
  20:	40 30 00 00 ef be 00 00 	ldindw %r3,0xbeef
  28:	48 50 00 00 ef be 00 00 	ldindh %r5,0xbeef
  30:	50 70 00 00 ef be 00 00 	ldindb %r7,0xbeef
  38:	58 90 00 00 ef be 00 00 	ldinddw %r9,0xbeef
  40:	61 12 ef 7e 00 00 00 00 	ldxw %r2,\[%r1\+0x7eef\]
  48:	69 12 ef 7e 00 00 00 00 	ldxh %r2,\[%r1\+0x7eef\]
  50:	71 12 ef 7e 00 00 00 00 	ldxb %r2,\[%r1\+0x7eef\]
  58:	79 12 fe ff 00 00 00 00 	ldxdw %r2,\[%r1\+-2\]
  60:	63 21 ef 7e 00 00 00 00 	stxw \[%r1\+0x7eef\],%r2
  68:	6b 21 ef 7e 00 00 00 00 	stxh \[%r1\+0x7eef\],%r2
  70:	73 21 ef 7e 00 00 00 00 	stxb \[%r1\+0x7eef\],%r2
  78:	7b 21 fe ff 00 00 00 00 	stxdw \[%r1\+-2\],%r2
  80:	72 01 ef 7e 44 33 22 11 	stb \[%r1\+0x7eef\],0x11223344
  88:	6a 01 ef 7e 44 33 22 11 	sth \[%r1\+0x7eef\],0x11223344
  90:	62 01 ef 7e 44 33 22 11 	stw \[%r1\+0x7eef\],0x11223344
  98:	7a 01 fe ff 44 33 22 11 	stdw \[%r1\+-2\],0x11223344