}")
(define_insn ""
- [(set (match_operand:HI 0 "general_operand" "=dx,a,dx,a,dx,a,dx,a,dxa,m")
- (match_operand:HI 1 "general_operand" "0,0,I,I,a,dx,dxi,ia,m,dxa"))]
+ [(set (match_operand:HI 0 "general_operand" "=d*x*a,d*x,d*x*a,d*x*a,m")
+ (match_operand:HI 1 "general_operand" "0,I,d*x*ai,m,d*x*a"))]
"TARGET_AM33
&& (register_operand (operands[0], HImode)
|| register_operand (operands[1], HImode))"
switch (which_alternative)
{
case 0:
- case 1:
return \"nop\";
- case 2:
+ case 1:
return \"clr %0\";
- case 3:
- case 4:
- case 5:
- case 6:
- case 7:
+ case 2:
if (GET_CODE (operands[1]) == CONST_DOUBLE)
{
rtx xoperands[2];
return \"movu %1,%0\";
}
return \"mov %1,%0\";
- case 8:
- case 9:
+ case 3:
+ case 4:
return \"movhu %1,%0\";
default:
abort ();
}
}"
- [(set_attr "cc" "none,none,clobber,none_0hit,none_0hit,none_0hit,none_0hit,none_0hit,none_0hit,none_0hit")])
+ [(set_attr "cc" "none,clobber,none_0hit,none_0hit,none_0hit")])
(define_insn ""
- [(set (match_operand:HI 0 "general_operand" "=dx,*a,dx,*a,dx,*a,dx,*a,dx,m")
- (match_operand:HI 1 "general_operand" "0,0,I,I,a,dx,dxi,ia,m,dx"))]
+ [(set (match_operand:HI 0 "general_operand" "=d*a,d,d*a,d,m")
+ (match_operand:HI 1 "general_operand" "0,I,dai,m,d"))]
"register_operand (operands[0], HImode)
|| register_operand (operands[1], HImode)"
"*
switch (which_alternative)
{
case 0:
- case 1:
return \"nop\";
- case 2:
+ case 1:
return \"clr %0\";
- case 3:
- case 4:
- case 5:
- case 6:
- case 7:
+ case 2:
if (GET_CODE (operands[1]) == CONST_DOUBLE)
{
rtx xoperands[2];
return \"\";
}
return \"mov %1,%0\";
- case 8:
- case 9:
+ case 3:
+ case 4:
return \"movhu %1,%0\";
default:
abort ();
}
}"
- [(set_attr "cc" "none,none,clobber,none_0hit,none_0hit,none_0hit,none_0hit,none_0hit,none_0hit,none_0hit")])
+ [(set_attr "cc" "none,clobber,none_0hit,none_0hit,none_0hit")])
;; movsi and helpers