From: John David Anglin Date: Wed, 22 Nov 2023 20:06:22 +0000 (+0000) Subject: hppa: Define MAX_FIXED_MODE_SIZE X-Git-Tag: basepoints/gcc-15~4374 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f59f959e751d73b371d52f9c657f78d7a77983c;p=thirdparty%2Fgcc.git hppa: Define MAX_FIXED_MODE_SIZE Replace default define. We support TImode when TARGET_64BIT is true. 2023-11-22 John David Anglin gcc/ChangeLog: PR target/112592 * config/pa/pa.h (MAX_FIXED_MODE_SIZE): Define. --- diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index aba2cec73579..d73428682e76 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -1310,3 +1310,7 @@ do { \ /* Output default function prologue for hpux. */ #define TARGET_ASM_FUNCTION_PROLOGUE pa_output_function_prologue + +/* An integer expression for the size in bits of the largest integer machine + mode that should actually be used. We allow pairs of registers. */ +#define MAX_FIXED_MODE_SIZE GET_MODE_BITSIZE (TARGET_64BIT ? TImode : DImode)