#undef TARGET_MODES_TIEABLE_P
#define TARGET_MODES_TIEABLE_P csky_modes_tieable_p
-#undef TARGET_CAN_CHANGE_MODE_CLASS
-#define TARGET_CAN_CHANGE_MODE_CLASS csky_can_change_mode_class
-
#undef TARGET_CONDITIONAL_REGISTER_USAGE
#define TARGET_CONDITIONAL_REGISTER_USAGE csky_conditional_register_usage
&& (mode1 == DFmode || mode2 == DFmode));
}
-/* Implement TARGET_CAN_CHANGE_MODE_CLASS.
- V_REG registers can't do subreg as all values are reformatted to
- internal precision. */
-
-static bool
-csky_can_change_mode_class (machine_mode from,
- machine_mode to,
- reg_class_t rclass)
-{
- return (GET_MODE_SIZE (from) == GET_MODE_SIZE (to)
- || !reg_classes_intersect_p (V_REGS, rclass));
-}
-
/* Implement TARGET_CLASS_LIKELY_SPILLED_P.
We need to define this for MINI_REGS when we only use r0 - r7.
Otherwise we can end up using r0-r4 for function arguments, and don't