]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/i386: move prefetch and multi-byte UD/NOP to new decoder
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 6 May 2024 15:34:55 +0000 (17:34 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 May 2024 13:45:14 +0000 (15:45 +0200)
commit3fabbe0b7d458d6380f4b3246b8b32400f6bd1d9
tree93a16bedbb0727c5790ee6fcf848806ffe1a1509
parent40a3ec7b5ffde500789d016660a171057d6b467c
target/i386: move prefetch and multi-byte UD/NOP to new decoder

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).

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/decode-new.c.inc
target/i386/tcg/decode-new.h
target/i386/tcg/emit.c.inc
target/i386/tcg/translate.c