"TARGET_5200"
"* return output_move_himode (operands);")
-(define_insn "movstricthi"
+(define_expand "movstricthi"
+ [(set (strict_low_part (match_operand:HI 0 "general_operand" ""))
+ (match_operand:HI 1 "general_operand" ""))]
+ ""
+ "")
+
+(define_insn ""
[(set (strict_low_part (match_operand:HI 0 "general_operand" "+dm"))
(match_operand:HI 1 "general_operand" "rmn"))]
- ""
- "*
-{
- if (operands[1] == const0_rtx
- /* clr insns on 68000 read before writing.
- This isn't so on the 68010, but we have no TARGET_68010. */
- && ((TARGET_68020 || TARGET_5200)
- || !(GET_CODE (operands[0]) == MEM && MEM_VOLATILE_P (operands[0]))))
- return \"clr%.w %0\";
- return \"move%.w %1,%0\";
-}")
+ "!TARGET_5200"
+ "* return output_move_stricthi (operands);")
+
+(define_insn ""
+ [(set (strict_low_part (match_operand:HI 0 "general_operand" "+d,m"))
+ (match_operand:HI 1 "general_operand" "rmn,r"))]
+ "TARGET_5200"
+ "* return output_move_stricthi (operands);")
(define_expand "movqi"
[(set (match_operand:QI 0 "general_operand" "")
"TARGET_5200"
"* return output_move_qimode (operands);")
-(define_insn "movstrictqi"
+(define_expand "movstrictqi"
+ [(set (strict_low_part (match_operand:QI 0 "general_operand" ""))
+ (match_operand:QI 1 "general_operand" ""))]
+ ""
+ "")
+
+(define_insn ""
[(set (strict_low_part (match_operand:QI 0 "general_operand" "+dm"))
(match_operand:QI 1 "general_operand" "dmn"))]
- ""
- "*
-{
- if (operands[1] == const0_rtx
- /* clr insns on 68000 read before writing.
- This isn't so on the 68010, but we have no TARGET_68010. */
- && ((TARGET_68020 || TARGET_5200)
- || !(GET_CODE (operands[0]) == MEM && MEM_VOLATILE_P (operands[0]))))
- return \"clr%.b %0\";
- return \"move%.b %1,%0\";
-}")
+ "!TARGET_5200"
+ "* return output_move_strictqi (operands);")
+
+(define_insn ""
+ [(set (strict_low_part (match_operand:QI 0 "general_operand" "+d,m"))
+ (match_operand:QI 1 "general_operand" "dmn,d"))]
+ "TARGET_5200"
+ "* return output_move_strictqi (operands);")
(define_expand "movsf"
[(set (match_operand:SF 0 "general_operand" "")