cpu: fix offset16 type, update c-calls in bpf.cpu
authorDavid Faust <david.faust@oracle.com>
Thu, 25 Jun 2020 18:34:29 +0000 (20:34 +0200)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Thu, 25 Jun 2020 18:34:29 +0000 (20:34 +0200)
commitd73be6116811aeaedd1863c2597ede78be3cf4e5
tree457e068b990ce46a75501faf06627297f583c59c
parent6d74da72dacdbbe2b87a6b931e0f7edc3d3463e3
cpu: fix offset16 type, update c-calls in bpf.cpu

Correct the type of the offset16 field to HI, and simplify memory
accesses which use it. Also update c-calls in semantics for a
few instructions.

cpu/ChangeLog:

2020-06-25 David Faust  <david.faust@oracle.com>

* bpf.cpu (f-offset16): Change type from INT to HI.
(dxli): Simplify memory access.
(dxsi): Likewise.
(define-endian-insn): Update c-call in semantics.
(dlabs) Likewise.
(dlind) Likewise.
cpu/ChangeLog
cpu/bpf.cpu