cpu,opcodes,gas: fix explicit arguments to eBPF ldabs instructions
authorJose E. Marchesi <jose.marchesi@oracle.com>
Mon, 15 Jul 2019 14:00:28 +0000 (16:00 +0200)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Mon, 15 Jul 2019 14:00:28 +0000 (16:00 +0200)
commit3719fd55b6f89662653d50d33bb267c5f21127a5
tree7c046c3a10249178af42ff1ab11ba51468b62d6c
parent5b9d7a9a647260ba754fbd2a176d37806f15acc8
cpu,opcodes,gas: fix explicit arguments to eBPF ldabs instructions

This patch fixes the eBPF CPU description in order to reflect the
right explicit arguments passed to the ldabs{b,h,w,dw} instructions,
updates the corresponding GAS tests, and updates the BPF section of
the GAS manual.

cpu/ChangeLog:

2019-07-15  Jose E. Marchesi  <jose.marchesi@oracle.com>

* bpf.cpu (dlabs): New pmacro.
(dlind): Likewise.

opcodes/ChangeLog:

2019-07-15  Jose E. Marchesi  <jose.marchesi@oracle.com>

* bpf-desc.c: Regenerate.
* bpf-opc.c: Likewise.
* bpf-opc.h: Likewise.

gas/ChangeLog:

2019-07-15  Jose E. Marchesi  <jose.marchesi@oracle.com>

* testsuite/gas/bpf/mem.s: ldabs instructions do not take a `src'
register as an argument.
* testsuite/gas/bpf/mem.d: Updated accordingly.
* testsuite/gas/bpf/mem-be.d: Likewise.
* doc/c-bpf.texi (BPF Opcodes): Update to reflect the correct
explicit arguments to ldabs and ldind instructions.
cpu/ChangeLog
cpu/bpf.cpu
gas/ChangeLog
gas/doc/c-bpf.texi
gas/testsuite/gas/bpf/mem-be.d
gas/testsuite/gas/bpf/mem.d
gas/testsuite/gas/bpf/mem.s
opcodes/ChangeLog
opcodes/bpf-desc.c
opcodes/bpf-opc.c
opcodes/bpf-opc.h