target/i386: check SSE table flags instead of hardcoding opcodes
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 26 Aug 2022 22:13:40 +0000 (00:13 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 1 Sep 2022 18:16:33 +0000 (20:16 +0200)
commit2607e76ffde4b0620428500a00c354c58578a933
tree510e999ca1ccad1076cb489e1ce01d2276fc8a18
parent622ef8f29123a4048d93ae78303b52a4fca51e03
target/i386: check SSE table flags instead of hardcoding opcodes

Put more flags to work to avoid hardcoding lists of opcodes.  The op7 case
for SSE_OPF_CMP is included for homogeneity and because AVX needs it, but
it is never used by SSE or MMX.

Extracted from a patch by Paul Brook <paul@nowt.org>.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/translate.c