diff options
author | Jose E. Marchesi <jose.marchesi@oracle.com> | 2023-07-21 19:47:49 +0200 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2023-07-21 20:00:30 +0200 |
commit | c24fd9547fb6836af022c99470dfdb13fa9f90fe (patch) | |
tree | 7267743504eb02a63dc11928aa08d80936a203c4 /gdb/testsuite/gdb.python/py-section-script.c | |
parent | 2f3dbc5fb5e781fc17d8f68f9c960a993f06d801 (diff) | |
download | binutils-c24fd9547fb6836af022c99470dfdb13fa9f90fe.zip binutils-c24fd9547fb6836af022c99470dfdb13fa9f90fe.tar.gz binutils-c24fd9547fb6836af022c99470dfdb13fa9f90fe.tar.bz2 |
bpf: opcodes, gas: support for signed load V4 instructions
This commit adds the signed load to register (ldxs*) instructions
introduced in the BPF ISA version 4, including opcodes and assembler
tests.
Tested in bpf-unknown-none.
include/ChangeLog:
2023-07-21 Jose E. Marchesi <jose.marchesi@oracle.com>
* opcode/bpf.h (enum bpf_insn_id): Add entries for signed load
instructions.
(BPF_MODE_SMEM): Define.
opcodes/ChangeLog:
2023-07-21 Jose E. Marchesi <jose.marchesi@oracle.com>
* bpf-opc.c (bpf_opcodes): Add entries for LDXS{B,W,H,DW}
instructions.
gas/ChangeLog:
2023-07-21 Jose E. Marchesi <jose.marchesi@oracle.com>
* testsuite/gas/bpf/mem.s: Add signed load instructions.
* testsuite/gas/bpf/mem-pseudoc.s: Likewise.
* testsuite/gas/bpf/mem.d: Likewise.
* testsuite/gas/bpf/mem-pseudoc.d: Likewise.
* testsuite/gas/bpf/mem-be.d: Likewise.
* doc/c-bpf.texi (BPF Instructions): Document the signed load
instructions.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-section-script.c')
0 files changed, 0 insertions, 0 deletions