From a3950905fbb5ee843bcdb1153bb6f6c48c78fee1 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Sat, 13 Jul 1996 02:28:13 +0000 Subject: [PATCH] Add -mxl-call From-SVN: r12440 --- gcc/config/rs6000/rs6000.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index a497fe45f8a..44d57394f5d 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -316,6 +316,10 @@ extern int target_flags; #endif #endif +#ifndef TARGET_XL_CALL +#define TARGET_XL_CALL 0 +#endif + /* Run-time compilation parameters selecting different hardware subsets. Macro to define tables used to set the flags. @@ -437,6 +441,39 @@ struct rs6000_cpu_select extern struct rs6000_cpu_select rs6000_select[]; +/* start-sanitize-haifa */ +#ifdef HAIFA + +/* Some machines may desire to change what optimizations are + performed for various optimization levels. This macro, if + defined, is executed once just after the optimization level is + determined and before the remainder of the command options have + been parsed. Values set in this macro are used as the default + values for the other command line options. + + LEVEL is the optimization level specified; 2 if `-O2' is + specified, 1 if `-O' is specified, and 0 if neither is specified. + + You should not use this macro to change options that are not + machine-specific. These should uniformly selected by the same + optimization level on all supported machines. Use this macro to + enable machbine-specific optimizations. + + *Do not examine `write_symbols' in this macro!* The debugging + options are not supposed to alter the generated code. + + AIX maps in page 0, so that we can safely do speculative loads */ + +#define OPTIMIZATION_OPTIONS(LEVEL) \ +do { \ + if (TARGET_AIX && (LEVEL) >= 2) { \ + flag_schedule_speculative_load = 1; \ + } \ +} while (0) + +#endif /* HAIFA */ +/* end-sanitize-haifa */ + /* Sometimes certain combinations of command options do not make sense on a particular target machine. You can define a macro `OVERRIDE_OPTIONS' to take account of this. This macro, if -- 2.30.2