diff options
author | Michael Meissner <meissner@gcc.gnu.org> | 1996-07-13 02:28:13 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 1996-07-13 02:28:13 +0000 |
commit | a3950905fbb5ee843bcdb1153bb6f6c48c78fee1 (patch) | |
tree | d562d42ce5f2c36ded596b8bda7b2eef1b0f9663 | |
parent | 5b9d9a0c0e6d116f4804b4f48cdfb9c0a304dcc9 (diff) | |
download | gcc-a3950905fbb5ee843bcdb1153bb6f6c48c78fee1.zip gcc-a3950905fbb5ee843bcdb1153bb6f6c48c78fee1.tar.gz gcc-a3950905fbb5ee843bcdb1153bb6f6c48c78fee1.tar.bz2 |
Add -mxl-call
From-SVN: r12440
-rw-r--r-- | gcc/config/rs6000/rs6000.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index a497fe4..44d5739 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 |