2012-04-07 Oleg Endo <olegendo@gcc.gnu.org>
+ * config/sh/sh.h (high_life_started): Remove
+ * config/sh/predicates.md (general_movdst_operand): Use
+ 'reload_in_progress' instead of 'high_life_started'.
+ * config/sh/sh.md (divsi_inv_call, *divsi_inv_call_combine,
+ divsi_inv_fp): Likewise.
+
+2012-04-07 Oleg Endo <olegendo@gcc.gnu.org>
+
* config/sh/sh-protos.h (prepare_move_operands): Return void
instead of int.
* config/sh/sh.c (prepare_move_operands): Likewise.
return 0;
if (mode == DImode && TARGET_SHMEDIA && GET_CODE (op) == SUBREG
&& GET_MODE_SIZE (GET_MODE (SUBREG_REG (op))) < 8
- && ! (high_life_started || reload_completed))
+ && ! (reload_in_progress || reload_completed))
return 0;
if ((mode == QImode || mode == HImode)
2:\n" TEXT_SECTION_ASM_OP);
#endif /* (defined CRT_BEGIN || defined CRT_END) && ! __SHMEDIA__ */
-/* FIXME: middle-end support for highpart optimizations is missing. */
-#define high_life_started reload_in_progress
-
#endif /* ! GCC_SH_H */
(use (match_operand:SI 3 "register_operand" "r"))]
"TARGET_SHMEDIA"
"#"
- "&& (high_life_started || reload_completed)"
+ "&& (reload_in_progress || reload_completed)"
[(set (match_dup 0) (match_dup 3))]
""
[(set_attr "highpart" "must_split")])
UNSPEC_DIV_INV_M3))]
"TARGET_SHMEDIA"
"#"
- "&& (high_life_started || reload_completed)"
+ "&& (reload_in_progress || reload_completed)"
[(pc)]
{
const char *name = sh_divsi3_libfunc;
(clobber (match_operand:DF 8 "register_operand" "=r"))]
"TARGET_SHMEDIA_FPU"
"#"
- "&& (high_life_started || reload_completed)"
+ "&& (reload_in_progress || reload_completed)"
[(set (match_dup 0) (match_dup 3))]
""
[(set_attr "highpart" "must_split")])