1 # GAS testsuite
for the Linux eBPF
-*- Tcl
-*-
3 # Copyright
(C
) 2019-2023 Free Software Foundation
, Inc.
4 # Contributed by Oracle
, Inc.
6 # This
program is free software
; you can redistribute it and
/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation
; either version
3 of the License
, or
9 #
(at your option
) any later version.
11 # This
program is distributed in the hope that it will be useful
,
12 # but WITHOUT
ANY WARRANTY
; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License
for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this
program; if not
, write to the Free Software
18 # Foundation
, Inc.
, 51 Franklin Street
- Fifth Floor
, Boston
, MA
02110-1301, USA.
20 if {[istarget bpf
*-*-*]} {
22 run_dump_test lddw
-pseudoc
24 run_dump_test alu
-pseudoc
26 run_dump_test alu32
-pseudoc
28 run_dump_test mem
-pseudoc
30 run_dump_test jump
-pseudoc
32 run_dump_test jump32
-pseudoc
36 run_dump_test atomic
-pseudoc
38 run_dump_test pseudoc
-normal
41 run_dump_test lddw
-be
-pseudoc
43 run_dump_test alu
-be
-pseudoc
44 run_dump_test alu32
-be
45 run_dump_test alu32
-be
-pseudoc
50 run_dump_test atomic
-be
52 run_dump_test pseudoc
-normal-be
54 run_dump_test indcall
-1
55 run_dump_test indcall
-1-pseudoc
56 run_list_test indcall
-bad
-1
58 run_dump_test alu
-xbpf
59 run_dump_test alu32
-xbpf