* dsp16xx.h : Clean up of macro OPTIMIZATION_OPTIONS

From-SVN: r21002
This commit is contained in:
Carlo Wood 1998-07-08 01:33:15 +02:00 committed by Jeff Law
parent c8d9f9657b
commit a596f4d7a2
2 changed files with 20 additions and 26 deletions

View File

@ -1,3 +1,7 @@
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>
* i386/cygwin32.h (ASM_DECLARE_FUNCTION_NAME): Merge duplicate

View File

@ -282,35 +282,25 @@ extern int target_flags;
on a particular target machine. You can define a macro
`OVERRIDE_OPTIONS' to take account of this. This macro, if
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 OPTIMIZATION_OPTIONS(LEVEL,SIZE) \
{ \
flag_gnu_linker = FALSE; \
\
if (LEVEL) \
{ \
flag_omit_frame_pointer = TRUE; \
flag_thread_jumps = TRUE; \
} \
\
if (LEVEL >= 2) \
{ \
if (! SIZE) \
flag_strength_reduce = TRUE; \
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; \
} \
}
#define OPTIMIZATION_OPTIONS(LEVEL,SIZE) \
do \
{ \
flag_gnu_linker = FALSE; \
\
if (SIZE) \
{ \
flag_strength_reduce = FALSE; \
flag_inline_functions = FALSE; \
} \
} \
while (0)
/* STORAGE LAYOUT */