]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
hppa: Define MAX_FIXED_MODE_SIZE
authorJohn David Anglin <danglin@gcc.gnu.org>
Wed, 22 Nov 2023 20:06:22 +0000 (20:06 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Wed, 22 Nov 2023 20:06:22 +0000 (20:06 +0000)
Replace default define.  We support TImode when TARGET_64BIT is true.

2023-11-22  John David Anglin  <danglin@gcc.gnu.org>

gcc/ChangeLog:

PR target/112592
* config/pa/pa.h (MAX_FIXED_MODE_SIZE): Define.

gcc/config/pa/pa.h

index aba2cec73579baf239c520d280985d5abef04347..d73428682e76677395ec1c4f63d403b73fb30a9e 100644 (file)
@@ -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)