target/i386: reimplement 0x0f 0x3a, add AVX
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 Sep 2022 08:34:11 +0000 (10:34 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 18 Oct 2022 11:58:05 +0000 (13:58 +0200)
commit7906847768613ea6b6e737f3295c77cdb4ff67f4
treede9230fa346caf3ee358830c27ad46faebba1712
parenta64eee3ab402469b536db9aeb259097b84d31d0f
target/i386: reimplement 0x0f 0x3a, add AVX

The more complicated operations here are insertions and extractions.
Otherwise, there are just more entries than usual because the PS/PD/SS/SD
variations are encoded in the opcode rater than in the prefixes.

These three-byte opcodes also include AVX new instructions, whose
implementation in the helpers was originally done by Paul Brook
<paul@nowt.org>.

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