From 0893725024b4dccb877a3831e6e2100b6de736e3 Mon Sep 17 00:00:00 2001 From: Lars Poeschel Date: Wed, 28 Mar 2007 12:56:11 +0000 Subject: [PATCH] fr30.md (movsi_internal): Change destination constraint from m to V and add m to the end. * config/fr30/fr30.md (movsi_internal): Change destination constraint from m to V and add m to the end. From-SVN: r123297 --- gcc/ChangeLog | 5 +++++ gcc/config/fr30/fr30.md | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 348ecad6e3c..086c8b60459 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-02-11 Lars Poeschel + + * config/fr30/fr30.md (movsi_internal): Change destination + constraint from m to V and add m to the end. + 2007-03-28 Christian Bruel * config/sh/sh.md (movsi_i): Fix type attribute. diff --git a/gcc/config/fr30/fr30.md b/gcc/config/fr30/fr30.md index 4e8e93acfa2..6921e7e3de9 100644 --- a/gcc/config/fr30/fr30.md +++ b/gcc/config/fr30/fr30.md @@ -341,8 +341,8 @@ ;; values are addresses which will fit in 20 bits. (define_insn "movsi_internal" - [(set (match_operand:SI 0 "nonimmediate_operand" "=r,r,r,r,red,m,r") - (match_operand:SI 1 "general_operand" "L,M,n,i,rde,r,rm"))] + [(set (match_operand:SI 0 "nonimmediate_operand" "=r,r,r,r,red,V,r,m") + (match_operand:SI 1 "general_operand" "L,M,n,i,rde,r,rm,r"))] "" "* { @@ -358,8 +358,9 @@ case 4: return \"mov \\t%1, %0\"; case 5: return \"st \\t%1, %0\"; case 6: return \"ld \\t%1, %0\"; - default: gcc_unreachable (); - } + case 7: return \"st \\t%1, %0\"; + default: gcc_unreachable (); + } }" [(set (attr "length") (cond [(eq_attr "alternative" "1") (const_int 4) (eq_attr "alternative" "2") (const_int 6)