OSDN Git Service

tcg: Move some TCG_CT_* bits to TCGArgConstraint bitfields
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 5 Apr 2019 02:34:19 +0000 (19:34 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 8 Oct 2020 10:57:32 +0000 (05:57 -0500)
commitbc2b17e6ea582ef3ade2bdca750de269c674c915
tree1b1f07efe2516593559a9eb5963614ebf70d7012
parent74a117906b87ff9220e4baae5a7431d6f4eadd45
tcg: Move some TCG_CT_* bits to TCGArgConstraint bitfields

These are easier to set and test when they have their own fields.
Reduce the size of alias_index and sort_index to 4 bits, which is
sufficient for TCG_MAX_OP_ARGS.  This leaves only the bits indicating
constants within the ct field.

Move all initialization to allocation time, rather than init
individual fields in process_op_defs.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/tcg/tcg.h
tcg/tcg.c