public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Will Hawkins <hawkinsw@obs.cr>
To: Hans-Peter Nilsson <hp@bitrange.com>
Cc: binutils@sourceware.org
Subject: Re: [PATCH 1/1] objdump: Add callx support for BPF CPU v1
Date: Sun, 11 Feb 2024 18:26:34 -0500	[thread overview]
Message-ID: <CADx9qWj=XoPcEYciYYmDxWMGyBCbmDYbeHK9P0Z1eoSxRNjc8A@mail.gmail.com> (raw)
In-Reply-To: <CADx9qWj9E2A2uoj2RObzurF3DdajvkMLvje6vpbYt5wvniJqyQ@mail.gmail.com>

On Sat, Feb 10, 2024 at 1:13 AM Will Hawkins <hawkinsw@obs.cr> wrote:
>
> On Fri, Feb 9, 2024 at 11:47 PM Hans-Peter Nilsson <hp@bitrange.com> wrote:
> >
> > On Fri, 9 Feb 2024, Will Hawkins wrote:
> >
> > > Add support for disassembling the callx instruction back to CPU v1.
> > >
> > > include/ChangeLog:
> > >
> > >       * opcode/bpf.h (enum bpf_insn_id):
> > >
> > > opcodes/ChangeLog:
> > >
> > >       * bpf-opc.c:
> > >
> > > ChangeLog:
> > >
> > >       * sim/bpf/bpf-sim.c (execute):
> >
> > Not commenting on the rest of the patch but there's missing text
> > after ":" above. Beware: gcc/contrib/mklog.py doesn't help with
> > that part. :)
> >
>
> Thank you! I thought something looked suspicious but because it was
> what contrib/mklog.py gave me, I assumed you all had special
> requirements! I will fix it and resubmit.
>
> Thank you again!
> Will
>
>

Please disregard this version of the patch. I will resubmit a v2 patch
soon. There is a discrepancy between the way that gcc encodes the
callx (aka callr) and the way that clang encodes the callx. I am
working with the author of the IETF standardization document for the
BPF ISA to understand how the instruction encoding will be specified.
Once that discussion has concluded, I will resubmit the patch.

Sorry for the extra emails.

Will


>
> > Happy hacking!
> >
> > brgds, H-P

  reply	other threads:[~2024-02-11 23:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-09 18:07 [PATCH 0/1] " Will Hawkins
2024-02-09 18:07 ` [PATCH 1/1] " Will Hawkins
2024-02-10  4:47   ` Hans-Peter Nilsson
2024-02-10  6:13     ` Will Hawkins
2024-02-11 23:26       ` Will Hawkins [this message]
2024-02-12 17:01 ` [PATCH 0/1] " Nick Clifton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADx9qWj=XoPcEYciYYmDxWMGyBCbmDYbeHK9P0Z1eoSxRNjc8A@mail.gmail.com' \
    --to=hawkinsw@obs.cr \
    --cc=binutils@sourceware.org \
    --cc=hp@bitrange.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).