+2010-10-15 Joseph Myers <joseph@codesourcery.com>
+
+ * config/frv/frv.c (frv_option_optimization,
+ TARGET_OPTION_OPTIMIZATION): Remove.
+ * config/frv/frv.h (RCSP_SOFTWARE_PIPELINING): Remove.
+
2010-10-15 Michael Matz <matz@suse.de>
* cgraphunit.c (clone_of_p): Define unconditionally.
static bool frv_handle_option (size_t, const char *, int);
static void frv_option_override (void);
-static void frv_option_optimization (int, int);
static bool frv_legitimate_address_p (enum machine_mode, rtx, bool);
static int frv_default_flags_for_cpu (void);
static int frv_string_begins_with (const_tree, const char *);
#define TARGET_HANDLE_OPTION frv_handle_option
#undef TARGET_OPTION_OVERRIDE
#define TARGET_OPTION_OVERRIDE frv_option_override
-#undef TARGET_OPTION_OPTIMIZATION
-#define TARGET_OPTION_OPTIMIZATION frv_option_optimization
#undef TARGET_INIT_BUILTINS
#define TARGET_INIT_BUILTINS frv_init_builtins
#undef TARGET_EXPAND_BUILTIN
init_machine_status = frv_init_machine_status;
}
-\f
-/* Implement TARGET_OPTION_OPTIMIZATION.
-
- On the FRV, possibly disable VLIW packing which is done by the 2nd
- scheduling pass at the current time. */
-static void
-frv_option_optimization (int level, int size ATTRIBUTE_UNUSED)
-{
- if (level >= 2)
- {
-#ifdef DISABLE_SCHED2
- flag_schedule_insns_after_reload = 0;
-#endif
-#ifdef ENABLE_RCSP
- flag_rcsp = 1;
-#endif
- }
-}
-
\f
/* Return true if NAME (a STRING_CST node) begins with PREFIX. */
#define MINIMAL_SECOND_JUMP_OPTIMIZATION
-/* If the following macro is defined and nonzero and deterministic
- finite state automata are used for pipeline hazard recognition, the
- code making resource-constrained software pipelining is on. */
-#define RCSP_SOFTWARE_PIPELINING 1
-
/* If the following macro is defined and nonzero and deterministic
finite state automata are used for pipeline hazard recognition, we
will try to exchange insns in queue ready to improve the schedule.