In preparation for adding more similar checks, move the VEX.L=0 check
and several X86_SPECIAL_* checks to a new field, where each bit represent
a common check on unused bits, or a restriction on the processor mode.
Likewise, many SVM intercepts can be checked during the decoding phase,
the main exception being the selective CR0 write, MSR and IOIO intercepts.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
target/i386/tcg/decode-new.c.inc | 79 +++++++++++++++++++++++---------
target/i386/tcg/decode-new.h | 25 +++++++---
target/i386/tcg/emit.c.inc | 8 ----
3 files changed, 76 insertions(+), 36 deletions(-)