From 39cc8df7a991ed16e8afd304466aa4b618a8ed5d Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Fri, 4 May 2001 23:04:04 +0200 Subject: [PATCH] m68hc11.md (lshrhi3_const1): Fix shift of soft register, use ror instead of rol. * config/m68hc11/m68hc11.md (lshrhi3_const1): Fix shift of soft register, use ror instead of rol. From-SVN: r41850 --- gcc/ChangeLog | 5 +++++ gcc/config/m68hc11/m68hc11.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6950db40390..308d07e6dd3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-05-04 Stephane Carrez + + * config/m68hc11/m68hc11.md (lshrhi3_const1): Fix shift of + soft register, use ror instead of rol. + 2001-05-04 Stephane Carrez * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Take diff --git a/gcc/config/m68hc11/m68hc11.md b/gcc/config/m68hc11/m68hc11.md index 8afe311e702..844c982b003 100644 --- a/gcc/config/m68hc11/m68hc11.md +++ b/gcc/config/m68hc11/m68hc11.md @@ -4961,7 +4961,7 @@ 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" -- 2.30.2