aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-06-28 14:23:12 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1996-06-28 14:23:12 -0400
commit803fee6995dd78d07f34d6291fd45cdd9972e6a8 (patch)
treeaa4fee672e0102732e89f7e584fa3eb98a3244dd
parent97aea203f2923d50b97d12b14fca52e8375453c3 (diff)
downloadgcc-803fee6995dd78d07f34d6291fd45cdd9972e6a8.zip
gcc-803fee6995dd78d07f34d6291fd45cdd9972e6a8.tar.gz
gcc-803fee6995dd78d07f34d6291fd45cdd9972e6a8.tar.bz2
({MASK,TARGET}_BUILD_CONSTANTS): New macros.
(TARGET_SWITCHES): New target option build-constants. From-SVN: r12359
-rw-r--r--gcc/config/alpha/alpha.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h
index 7f2d57c..1778a8e 100644
--- a/gcc/config/alpha/alpha.h
+++ b/gcc/config/alpha/alpha.h
@@ -147,9 +147,16 @@ extern enum alpha_fp_trap_mode alpha_fptm;
#define TARGET_IEEE_WITH_INEXACT (target_flags & MASK_IEEE_WITH_INEXACT)
/* This means we are compiling for Windows NT. */
+
#define MASK_WINDOWS_NT 64
#define TARGET_WINDOWS_NT (target_flags & MASK_WINDOWS_NT)
+/* This means we must construct all constants rather than emitting
+ them as literal data. */
+
+#define MASK_BUILD_CONSTANTS 128
+#define TARGET_BUILD_CONSTANTS (target_flags & MASK_BUILD_CONSTANTS)
+
/* Macro to define tables used to set the flags.
This is a list in braces of pairs in braces,
each pair being { "NAME", VALUE }
@@ -166,6 +173,7 @@ extern enum alpha_fp_trap_mode alpha_fptm;
{"ieee-conformant", MASK_IEEE_CONFORMANT}, \
{"ieee", MASK_IEEE|MASK_IEEE_CONFORMANT}, \
{"ieee-with-inexact", MASK_IEEE_WITH_INEXACT|MASK_IEEE_CONFORMANT}, \
+ {"build-constants", MASK_BUILD_CONSTANTS}, \
{"", TARGET_DEFAULT | TARGET_CPU_DEFAULT} }
#define TARGET_DEFAULT MASK_FP|MASK_FPREGS
@@ -999,7 +1007,7 @@ enum reg_class { NO_REGS, GENERAL_REGS, FLOAT_REGS, ALL_REGS,
emitted. If it would take more than N insns, zero is returned and no
insns and emitted. */
extern struct rtx_def *alpha_emit_set_const ();
-
+extern struct rtx_def *alpha_emit_set_long_const ();
extern struct rtx_def *alpha_emit_conditional_move ();
/* Generate necessary RTL for __builtin_saveregs().