aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Carrez <Stephane.Carrez@worldnet.fr>2001-06-12 00:11:02 +0200
committerStephane Carrez <ciceron@gcc.gnu.org>2001-06-12 00:11:02 +0200
commitc6af4c2e6c44f6ec95ac484a847fbd9e1219b997 (patch)
treebb7dd94d2ccaf4b71f9e4d385a781b946854a095
parente8c443781fb471e75cd7889d7b3d67adfceaf36c (diff)
downloadgcc-c6af4c2e6c44f6ec95ac484a847fbd9e1219b997.zip
gcc-c6af4c2e6c44f6ec95ac484a847fbd9e1219b997.tar.gz
gcc-c6af4c2e6c44f6ec95ac484a847fbd9e1219b997.tar.bz2
m68hc11.md ("*lshrdi3_const32"): Mark the clobber as an early clobber to make sure it is not used by reload in...
* 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. From-SVN: r43231
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/m68hc11/m68hc11.md6
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a382d51..0d396fa 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 8be292d..b7b8fe3 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]),