OSDN Git Service

target/i386: validate SSE prefixes directly in the decoding table
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 5 Sep 2022 13:30:02 +0000 (15:30 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 18 Oct 2022 11:58:04 +0000 (13:58 +0200)
commit55a3328669b57b1b093b93d2d63167f6dd6b767f
tree5024c5cf28c85b203c4254db57ad72c4a6ae91fa
parent20581aadec5e5a9d6836e4612b6f44a7cbda7d16
target/i386: validate SSE prefixes directly in the decoding table

Many SSE and AVX instructions are only valid with specific prefixes
(none, 66, F3, F2).  Introduce a direct way to encode this in the
decoding table to avoid using decode groups too much.

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