tcg: Move TLB_FLAGS_MASK check out of get_alignment_bits
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 1 Apr 2023 16:26:35 +0000 (09:26 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 5 Jun 2023 19:04:29 +0000 (12:04 -0700)
commit3a80bde37b15593a4ed2a045b6d2412b4aa970e9
tree367408182a54e9f1647b2f9ecd925e71787ae251
parent28ea568a039f7c8c8df168800602725062f6dd5c
tcg: Move TLB_FLAGS_MASK check out of get_alignment_bits

The replacement isn't ideal, as the raw count of bits
is not easily synced with exec/cpu-all.h, but it does
remove from tcg.h the target dependency on TARGET_PAGE_BITS_MIN
which is built into TLB_FLAGS_MASK.

Reviewed-by: Anton Johansson <anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/exec/cpu-all.h
include/tcg/tcg.h
tcg/tcg-op-ldst.c