Commit a596f4d7 by Carlo Wood Committed by Jeff Law

* dsp16xx.h : Clean up of macro OPTIMIZATION_OPTIONS

From-SVN: r21002
parent c8d9f965
Wed Jul 8 00:28:22 1998 Carlo Wood <carlo@runaway.xs4all.nl>
* dsp16xx.h : Clean up of macro OPTIMIZATION_OPTIONS
Tue Jul 7 21:18:14 1998 Mumit Khan <khan@xraylith.wisc.edu> Tue Jul 7 21:18:14 1998 Mumit Khan <khan@xraylith.wisc.edu>
* i386/cygwin32.h (ASM_DECLARE_FUNCTION_NAME): Merge duplicate * i386/cygwin32.h (ASM_DECLARE_FUNCTION_NAME): Merge duplicate
......
...@@ -282,35 +282,25 @@ extern int target_flags; ...@@ -282,35 +282,25 @@ extern int target_flags;
on a particular target machine. You can define a macro on a particular target machine. You can define a macro
`OVERRIDE_OPTIONS' to take account of this. This macro, if `OVERRIDE_OPTIONS' to take account of this. This macro, if
defined, is executed once just after all the command options have defined, is executed once just after all the command options have
been parsed. */ been parsed.
Don't use this macro to turn on various extra optimizations for
`-O'. That is what `OPTIMIZATION_OPTIONS' is for. */
#define OVERRIDE_OPTIONS override_options () #define OVERRIDE_OPTIONS override_options ()
#define OPTIMIZATION_OPTIONS(LEVEL,SIZE) \ #define OPTIMIZATION_OPTIONS(LEVEL,SIZE) \
{ \ do \
flag_gnu_linker = FALSE; \
\
if (LEVEL) \
{ \ { \
flag_omit_frame_pointer = TRUE; \ flag_gnu_linker = FALSE; \
flag_thread_jumps = TRUE; \
} \
\ \
if (LEVEL >= 2) \ if (SIZE) \
{ \ { \
if (! SIZE) \ flag_strength_reduce = FALSE; \
flag_strength_reduce = TRUE; \ flag_inline_functions = FALSE; \
flag_cse_follow_jumps = TRUE; \
flag_cse_skip_blocks = TRUE; \
flag_expensive_optimizations = TRUE; \
flag_rerun_cse_after_loop = TRUE; \
} \ } \
\
if ((LEVEL >= 3) && ! SIZE) \
{ \
flag_inline_functions = 1; \
} \ } \
} while (0)
/* STORAGE LAYOUT */ /* STORAGE LAYOUT */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment