target/i386: Save and restore pc_save before tcg_remove_ops_after
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 16 Oct 2022 22:23:03 +0000 (08:23 +1000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 18 Oct 2022 11:58:04 +0000 (13:58 +0200)
commit913f0836f69f67ffb5678fa148b9df85d3f46539
treea753aedd377e1400b1ce7627cdcc90d2936f9794
parent08c4f4db60f8744e7aec107b056ea1a9d6d20265
target/i386: Save and restore pc_save before tcg_remove_ops_after

Restore pc_save while undoing any state change that may have
happened while decoding the instruction.  Leave a TODO about
removing all of that when the table-based decoder is complete.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221016222303.288551-1-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/translate.c