]> xenbits.xensource.com Git - qemu-xen.git/commit
target/i386: Use unit not type in decode_modrm
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 12 Aug 2024 02:58:43 +0000 (12:58 +1000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Aug 2024 09:33:34 +0000 (11:33 +0200)
commit45230bca852f0a8c3a6bd9cb84e621bcde1c7e9a
tree9205c8dc25a4c61e7c58c60e64570901ae63a5c8
parent416f2b16c02c618c0f233372ebfe343f9ee667d4
target/i386: Use unit not type in decode_modrm

Rather that enumerating the types that can produce
MMX operands, examine the unit.  No functional change.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Link: https://lore.kernel.org/r/20240812025844.58956-3-richard.henderson@linaro.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/decode-new.c.inc