From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Michael Clark <michael@anarch128.org>
Cc: qemu-devel@nongnu.org,
Richard Henderson <richard.henderson@linaro.org>,
Eduardo Habkost <eduardo@habkost.net>,
Paolo Bonzini <pbonzini@redhat.com>,
Zhao Liu <zhao1.liu@intel.com>
Subject: Re: [PATCH v3 4/4] x86-disas: add x86-mini disassembler implementation
Date: Wed, 14 May 2025 09:17:07 +0100 [thread overview]
Message-ID: <aCRROhtUyLK7axOf@redhat.com> (raw)
In-Reply-To: <20250514073927.2735727-5-michael@anarch128.org>
On Wed, May 14, 2025 at 07:39:27PM +1200, Michael Clark wrote:
> the x86-mini library is a lightweight x86 encoder, decoder, and
> disassembler that uses extensions to the Intel instruction set
> metadata to encode modern VEX/EVEX instructions and legacy
> instructions with a parameterized LEX (legacy extension) format.
>
> this patch adds the x86-tablegen.py script, the disassembler,
> a print_insn_x86 implementation plus host and target cpu stubs.
>
> Signed-off-by: Michael Clark <michael@anarch128.org>
> ---
> disas/disas-host.c | 5 +
> disas/meson.build | 97 ++
> disas/x86-core.c | 2716 +++++++++++++++++++++++++++++++++++++++
> disas/x86-disas.c | 96 ++
> disas/x86.h | 1860 +++++++++++++++++++++++++++
> include/disas/dis-asm.h | 1 +
> target/i386/cpu.c | 7 +
> 7 files changed, 4782 insertions(+)
> create mode 100644 disas/x86-core.c
> create mode 100644 disas/x86-disas.c
> create mode 100644 disas/x86.h
>
> diff --git a/disas/x86-core.c b/disas/x86-core.c
> new file mode 100644
> index 000000000000..c4f7034e3420
> --- /dev/null
> +++ b/disas/x86-core.c
> @@ -0,0 +1,2716 @@
> +/*
> + * Copyright (c) 2024-2025 Michael Clark
> + *
> + * SPDX-License-Identifier: MIT
Note that we expect contributions to be under GPL-2.0-or-later, unless
derived from existing code that forces use of a different license, which
needs to be explained in the commit message
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
next prev parent reply other threads:[~2025-05-14 8:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-14 7:39 [PATCH v3 0/4] x86-disas: port x86-mini disassembler to QEMU Michael Clark
2025-05-14 7:39 ` [PATCH v3 1/4] x86-disas: add x86-mini instruction set metadata Michael Clark
2025-05-14 7:39 ` [PATCH v3 2/4] x86-disas: add x86-mini metadata documentation Michael Clark
2025-05-14 7:39 ` [PATCH v3 3/4] x86-disas: add x86-mini metadata tablegen script Michael Clark
2025-05-14 7:39 ` [PATCH v3 4/4] x86-disas: add x86-mini disassembler implementation Michael Clark
2025-05-14 8:17 ` Daniel P. Berrangé [this message]
2025-05-14 9:23 ` Michael Clark
2025-05-14 9:33 ` Daniel P. Berrangé
2025-05-14 12:52 ` Michael Clark
2025-05-14 10:25 ` Philippe Mathieu-Daudé
2025-05-14 10:55 ` Michael Clark
2025-05-14 7:46 ` [PATCH v3 0/4] x86-disas: port x86-mini disassembler to QEMU Michael Clark
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=aCRROhtUyLK7axOf@redhat.com \
--to=berrange@redhat.com \
--cc=eduardo@habkost.net \
--cc=michael@anarch128.org \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=zhao1.liu@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.