m68hc11.md (lshrhi3_const1): Fix shift of soft register, use ror instead of rol.
authorStephane Carrez <Stephane.Carrez@worldnet.fr>
Fri, 4 May 2001 21:04:04 +0000 (23:04 +0200)
committerStephane Carrez <ciceron@gcc.gnu.org>
Fri, 4 May 2001 21:04:04 +0000 (23:04 +0200)
* config/m68hc11/m68hc11.md (lshrhi3_const1): Fix shift of
soft register, use ror instead of rol.

From-SVN: r41850

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

index 6950db40390262ed76eb145fc7e20abfe21883d0..308d07e6dd3a07a28bb31135bb8133021e6fabc2 100644 (file)
@@ -1,3 +1,8 @@
+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
index 8afe311e702361c74b4cf7887c1b62760e89acc8..844c982b003d80602fc0c6b0cc70e822bec5a151 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"