diff options
author | Stephane Carrez <Stephane.Carrez@worldnet.fr> | 2001-05-04 23:04:04 +0200 |
---|---|---|
committer | Stephane Carrez <ciceron@gcc.gnu.org> | 2001-05-04 23:04:04 +0200 |
commit | 39cc8df7a991ed16e8afd304466aa4b618a8ed5d (patch) | |
tree | a9b0358c07c8bae6893a81f6770811621a296785 | |
parent | 3c2f40009aaa80a066044a129ac1e552d96215a1 (diff) | |
download | gcc-39cc8df7a991ed16e8afd304466aa4b618a8ed5d.zip gcc-39cc8df7a991ed16e8afd304466aa4b618a8ed5d.tar.gz gcc-39cc8df7a991ed16e8afd304466aa4b618a8ed5d.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/m68hc11/m68hc11.md | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6950db4..308d07e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/m68hc11/m68hc11.md b/gcc/config/m68hc11/m68hc11.md index 8afe311..844c982 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" |