Richard Henderson <richard.hender...@linaro.org> writes:
> Remove the ifdef ladder and move each define into the > appropriate header file. > > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> > --- > v2: Retain comment about M_C_G_B_S constraint (balaton) > --- > tcg/aarch64/tcg-target.h | 1 + > tcg/arm/tcg-target.h | 1 + > tcg/i386/tcg-target.h | 2 ++ > tcg/mips/tcg-target.h | 6 ++++++ > tcg/ppc/tcg-target.h | 2 ++ > tcg/riscv/tcg-target.h | 1 + > tcg/s390/tcg-target.h | 3 +++ > tcg/sparc/tcg-target.h | 1 + > tcg/tci/tcg-target.h | 1 + > tcg/region.c | 35 +++++++++-------------------------- > 10 files changed, 27 insertions(+), 26 deletions(-) > > diff --git a/tcg/aarch64/tcg-target.h b/tcg/aarch64/tcg-target.h > index 5ec30dba25..ef55f7c185 100644 > --- a/tcg/aarch64/tcg-target.h > +++ b/tcg/aarch64/tcg-target.h > @@ -15,6 +15,7 @@ > > #define TCG_TARGET_INSN_UNIT_SIZE 4 > #define TCG_TARGET_TLB_DISPLACEMENT_BITS 24 > +#define MAX_CODE_GEN_BUFFER_SIZE (2 * GiB) > #undef TCG_TARGET_STACK_GROWSUP As it's a TCG_TARGET feature maybe we should be renaming it while we are at it? TCG_TARGET_MAX_CODE_SIZE? Either way: Reviewed-by: Alex Bennée <alex.ben...@linaro.org> -- Alex Bennée