aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2023-11-22 20:06:22 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2023-11-22 20:06:22 +0000
commit6f59f959e751d73b371d52f9c657f78d7a77983c (patch)
tree655deccce5aea5502b85a367d8eb207d9d0fe43c
parenta89224f819381b77657145fdd8b1d997b989fdc0 (diff)
downloadgcc-6f59f959e751d73b371d52f9c657f78d7a77983c.zip
gcc-6f59f959e751d73b371d52f9c657f78d7a77983c.tar.gz
gcc-6f59f959e751d73b371d52f9c657f78d7a77983c.tar.bz2
hppa: Define MAX_FIXED_MODE_SIZE
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.
-rw-r--r--gcc/config/pa/pa.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h
index aba2cec..d734286 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)