OSDN Git Service

* config/m68hc11/m68hc11.md (lshrhi3_const1): Fix shift of
authorciceron <ciceron@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 May 2001 21:04:04 +0000 (21:04 +0000)
committerciceron <ciceron@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 May 2001 21:04:04 +0000 (21:04 +0000)
soft register, use ror instead of rol.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41850 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/m68hc11/m68hc11.md

index 6950db4..308d07e 100644 (file)
@@ -1,5 +1,10 @@
 2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
 
+       * config/m68hc11/m68hc11.md (lshrhi3_const1): Fix shift of
+       soft register, use ror instead of rol.
+
+2001-05-04  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
        * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Take
        into account pre/post increment decrement for 68HC12.
        Fix other problems in replacement and fix call to reg_mentioned_p.
index 8afe311..844c982 100644 (file)
     return \"lsrd\";
 
   CC_STATUS_INIT;
-  return \"lsr\\t%h0\\n\\trol\\t%b0\";
+  return \"lsr\\t%h0\\n\\tror\\t%b0\";
 }")
 
 (define_insn "lshrhi3_const"