public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Add support for V3 BPF atomic instructions
@ 2023-05-11 14:13 Jose E. Marchesi
  2023-05-11 14:13 ` [PATCH 1/4] opcodes: use CGEN_INSN_LGUINT for base instructions Jose E. Marchesi
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Jose E. Marchesi @ 2023-05-11 14:13 UTC (permalink / raw)
  To: binutils

Hello people!

The BPF v3 ISA introduces a whole new set of atomic instructions.
This patch series adds support for these to the GNU binutils.

The first patch in the series is preparatory, and it changes the
generic CGEN support in opcodes to allow base instructions longer than
32-bit, which is required when you have opcodes past that position, as
it happens with these new instructions.  This is the part for which I
need an OK from a global maintainer.

Of course review of the BPF specific parts is also appreciated!
Salud!

Jose E. Marchesi (4):
  opcodes: use CGEN_INSN_LGUINT for base instructions
  cpu: add V3 BPF atomic instructions
  gas: add tests for BPF V3 atomic instructions
  gas: document V3 BPF atomic instructions in the GAS manual

 cpu/ChangeLog                        |   4 +
 cpu/bpf.cpu                          | 164 ++++++++++++++++---
 gas/ChangeLog                        |  14 +-
 gas/doc/c-bpf.texi                   |  56 ++++++-
 gas/testsuite/gas/bpf/atomic-v3-be.d |  30 ++++
 gas/testsuite/gas/bpf/atomic-v3.d    |  30 ++++
 gas/testsuite/gas/bpf/atomic-v3.s    |  22 +++
 gas/testsuite/gas/bpf/bpf.exp        |   2 +
 include/ChangeLog                    |   4 +
 include/opcode/cgen.h                |  10 +-
 opcodes/ChangeLog                    |  26 +++
 opcodes/bpf-desc.c                   | 182 +++++++++++++++++++++
 opcodes/bpf-desc.h                   |  30 +++-
 opcodes/bpf-dis.c                    |   2 +-
 opcodes/bpf-opc.c                    | 232 ++++++++++++++++++++++++++-
 opcodes/bpf-opc.h                    |  14 +-
 opcodes/cgen-dis.c                   |   2 +-
 opcodes/cgen-dis.in                  |   2 +-
 opcodes/cgen-opc.c                   |   8 +-
 opcodes/epiphany-dis.c               |   2 +-
 opcodes/fr30-dis.c                   |   2 +-
 opcodes/frv-dis.c                    |   2 +-
 opcodes/ip2k-dis.c                   |   2 +-
 opcodes/iq2000-dis.c                 |   2 +-
 opcodes/lm32-dis.c                   |   2 +-
 opcodes/m32c-dis.c                   |   2 +-
 opcodes/m32r-dis.c                   |   2 +-
 opcodes/mep-dis.c                    |   2 +-
 opcodes/mt-dis.c                     |   2 +-
 opcodes/or1k-dis.c                   |   2 +-
 opcodes/xstormy16-dis.c              |   2 +-
 31 files changed, 788 insertions(+), 70 deletions(-)
 create mode 100644 gas/testsuite/gas/bpf/atomic-v3-be.d
 create mode 100644 gas/testsuite/gas/bpf/atomic-v3.d
 create mode 100644 gas/testsuite/gas/bpf/atomic-v3.s

-- 
2.30.2


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-07-22  6:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-11 14:13 [PATCH 0/4] Add support for V3 BPF atomic instructions Jose E. Marchesi
2023-05-11 14:13 ` [PATCH 1/4] opcodes: use CGEN_INSN_LGUINT for base instructions Jose E. Marchesi
2023-05-11 16:05   ` Jan Beulich
2023-05-17 13:03   ` Nick Clifton
2023-05-17 14:03     ` Jose E. Marchesi
2023-07-21 22:34       ` David Faust
2023-07-22  6:53         ` Jose E. Marchesi
2023-05-11 14:13 ` [PATCH 2/4] cpu: add V3 BPF atomic instructions Jose E. Marchesi
2023-05-11 14:13 ` [PATCH 3/4] gas: add tests for BPF V3 " Jose E. Marchesi
2023-05-11 14:13 ` [PATCH 4/4] gas: document V3 BPF atomic instructions in the GAS manual Jose E. Marchesi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).