]> xenbits.xensource.com Git - qemu-xen.git/commit
target/i386: Tidy REX_B, REX_X definition
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 14 May 2021 15:13:08 +0000 (10:13 -0500)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 19 May 2021 17:15:46 +0000 (12:15 -0500)
commit915ffe89a555817a08de661612a18e43df244d9c
treebd84066d15a12ae1d5bd1eef262b89d61bd307fd
parent1e92b7275c633cada8f8b6fc919b350bafdfc17c
target/i386: Tidy REX_B, REX_X definition

Change the storage from int to uint8_t since the value is in {0,8}.
For x86_64 add 0 in the macros to (1) promote the type back to int,
and (2) make the macro an rvalue.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210514151342.384376-17-richard.henderson@linaro.org>
target/i386/tcg/translate.c