tcg: Combine dh_is_64bit and dh_is_signed to dh_typecode
commit7319d83a735004ba24b439491a9d7727dac2ddbe
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 18 Mar 2021 16:01:01 +0000 (18 10:01 -0600)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 19 Jun 2021 15:51:11 +0000 (19 08:51 -0700)
tree1ba9aa426fef6ea8d4618dfb3211303e0b3f6738
parent3ccf6cd0e3e1dfd663814640b3b18b55715d7a75
tcg: Combine dh_is_64bit and dh_is_signed to dh_typecode

We will shortly be interested in distinguishing pointers
from integers in the helper's declaration, as well as a
true void return.  We currently have two parallel 1 bit
fields; merge them and expand to a 3 bit field.

Our current maximum is 7 helper arguments, plus the return
makes 8 * 3 = 24 bits used within the uint32_t typemask.

Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/exec/helper-head.h
include/exec/helper-tcg.h
target/hppa/helper.h
target/i386/ops_sse_header.h
target/m68k/helper.h
target/ppc/helper.h
tcg/tcg.c