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 <pbonz...@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 <pbonz...@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....@intel.com>