From 26a75d12d33ff80ee797ca32373f6333da4f194f Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 9 Mar 2021 23:30:38 -0600 Subject: tcg: Move MAX_CODE_GEN_BUFFER_SIZE to tcg-target.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the ifdef ladder and move each define into the appropriate header file. Reviewed-by: Luis Pires Reviewed-by: Alex Bennée Signed-off-by: Richard Henderson --- tcg/ppc/tcg-target.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tcg/ppc') diff --git a/tcg/ppc/tcg-target.h b/tcg/ppc/tcg-target.h index d1339af..c13ed56 100644 --- a/tcg/ppc/tcg-target.h +++ b/tcg/ppc/tcg-target.h @@ -27,8 +27,10 @@ #ifdef _ARCH_PPC64 # define TCG_TARGET_REG_BITS 64 +# define MAX_CODE_GEN_BUFFER_SIZE (2 * GiB) #else # define TCG_TARGET_REG_BITS 32 +# define MAX_CODE_GEN_BUFFER_SIZE (32 * MiB) #endif #define TCG_TARGET_NB_REGS 64 -- cgit v1.1