OSDN Git Service

target/i386: Reduce DisasContext.vex_[lv] to uint8_t
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 14 May 2021 15:13:15 +0000 (10:13 -0500)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 19 May 2021 17:15:47 +0000 (12:15 -0500)
commita77ca425d741b9806a2d15afdc6ed53c85777f8f
tree43c644bb44e08eea5e8d56c0182f8fc2c024e8a7
parenta8b9b657a0825dda1ce0f61f60543b44261239bf
target/i386: Reduce DisasContext.vex_[lv] to uint8_t

Currently, vex_l is either {0,1}; if in the future we implement
AVX-512, the max value will be 2.  In vex_v we store a register
number.  This is 0-15 for SSE, and 0-31 for AVX-512.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210514151342.384376-24-richard.henderson@linaro.org>
target/i386/tcg/translate.c