From d5e7e206fa7da1824c6f6085a658a25aa40018e8 Mon Sep 17 00:00:00 2001
From: ciceron <ciceron@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Mon, 11 Jun 2001 22:11:02 +0000
Subject: [PATCH] 	* config/m68hc11/m68hc11.md ("*lshrdi3_const32"): Mark
 the clobber 	as an early clobber to make sure it is not used by reload in 
 one of the operands.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43231 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/ChangeLog                 | 6 ++++++
 gcc/config/m68hc11/m68hc11.md | 6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a382d5176d41..0d396fa93918 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2001-06-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+	* config/m68hc11/m68hc11.md ("*lshrdi3_const32"): Mark the clobber 
+	as an early clobber to make sure it is not used by reload in 
+	one of the operands.
+
 2001-06-11  Mark Mitchell  <mark@codesourcery.com>
 
 	* doc/c-tree.texi: Update information about flag_honor_std.
diff --git a/gcc/config/m68hc11/m68hc11.md b/gcc/config/m68hc11/m68hc11.md
index 8be292d66935..b7b8fe38d90d 100644
--- a/gcc/config/m68hc11/m68hc11.md
+++ b/gcc/config/m68hc11/m68hc11.md
@@ -3918,7 +3918,7 @@
   [(set (match_operand:DI 0 "nonimmediate_operand" "=<,um")
 	(ashift:DI (match_operand:DI 1 "general_operand" "umi,umi")
 		   (const_int 32)))
-   (clobber (match_scratch:HI 2 "=A,d"))]
+   (clobber (match_scratch:HI 2 "=&A,d"))]
    "reload_completed"
    [(const_int 0)]
    "/* Move the lowpart in the highpart first in case the shift
@@ -4689,7 +4689,7 @@
   [(set (match_operand:DI 0 "nonimmediate_operand" "=<,m,u")
 	(lshiftrt:DI (match_operand:DI 1 "general_operand" "umi,umi,umi")
 		     (const_int 32)))
-   (clobber (match_scratch:HI 2 "=A,d,d"))]
+   (clobber (match_scratch:HI 2 "=&A,d,d"))]
    ""
    "#")
 
@@ -4697,7 +4697,7 @@
   [(set (match_operand:DI 0 "nonimmediate_operand" "=<,um")
 	(lshiftrt:DI (match_operand:DI 1 "general_operand" "umi,umi")
 		     (const_int 32)))
-   (clobber (match_scratch:HI 2 "=A,d"))]
+   (clobber (match_scratch:HI 2 "=&A,d"))]
    "reload_completed"
    [(const_int 0)]
    "m68hc11_split_move (m68hc11_gen_lowpart (SImode, operands[0]),
-- 
GitLab