diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cd09c8d84b3..00385a640ca 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-03-06 Richard Sandiford + + * config/m68k/m68k.md (movsf_cf_soft): Provide the same non-mov3q + alternatives as movsi_cf. + (movsf_cf_hard): Add commentary. + 2007-03-06 Kazu Hirata Richard Sandiford diff --git a/gcc/config/m68k/m68k.md b/gcc/config/m68k/m68k.md index 4c0878a1df2..40c80721b09 100644 --- a/gcc/config/m68k/m68k.md +++ b/gcc/config/m68k/m68k.md @@ -860,13 +860,15 @@ }) (define_insn "movsf_cf_soft" - [(set (match_operand:SF 0 "nonimmediate_operand" "=r,g") - (match_operand:SF 1 "general_operand" "g,r"))] + [(set (match_operand:SF 0 "nonimmediate_operand" "=r,g,U") + (match_operand:SF 1 "general_operand" "g,r,U"))] "TARGET_COLDFIRE && !TARGET_COLDFIRE_FPU" { return "move%.l %1,%0"; }) +;; SFmode MEMs are restricted to modes 2-4 if TARGET_COLDFIRE_FPU. +;; The move instructions can handle all combinations. (define_insn "movsf_cf_hard" [(set (match_operand:SF 0 "nonimmediate_operand" "=rU, f, f,mr,f,r,f ,m")