From: Zhao Liu <zhao1.liu@intel.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [PATCH] target/i386: move prefetch and multi-byte UD/NOP to new decoder
Date: Fri, 10 May 2024 16:57:01 +0800 [thread overview]
Message-ID: <Zj3hXeGn4XFS4iwC@intel.com> (raw)
In-Reply-To: <20240509153755.143456-1-pbonzini@redhat.com>
On Thu, May 09, 2024 at 05:37:55PM +0200, Paolo Bonzini wrote:
> Date: Thu, 9 May 2024 17:37:55 +0200
> From: Paolo Bonzini <pbonzini@redhat.com>
> Subject: [PATCH] target/i386: move prefetch and multi-byte UD/NOP to new
> decoder
> X-Mailer: git-send-email 2.45.0
>
> These are trivial to add, and moving them to the new decoder fixes some
> corner cases: raising #UD instead of an instruction fetch page fault for
> the undefined opcodes, and incorrectly rejecting 0F 18 prefetches with
> register operands (which are treated as reserved NOPs).
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> target/i386/tcg/decode-new.h | 1 +
> target/i386/tcg/translate.c | 30 ------------------------------
> target/i386/tcg/decode-new.c.inc | 24 +++++++++++++++++++++---
> target/i386/tcg/emit.c.inc | 5 +++++
> 4 files changed, 27 insertions(+), 33 deletions(-)
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
next prev parent reply other threads:[~2024-05-10 8:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-09 15:37 [PATCH] target/i386: move prefetch and multi-byte UD/NOP to new decoder Paolo Bonzini
2024-05-10 8:57 ` Zhao Liu [this message]
2024-05-10 9:38 ` Richard Henderson
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=Zj3hXeGn4XFS4iwC@intel.com \
--to=zhao1.liu@intel.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/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.