summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog12
-rw-r--r--gcc/config/rs6000/sync.md12
2 files changed, 18 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7ff6c17204e..465a3482751 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,15 @@
+2005-09-23 David Edelsohn <edelsohn@gnu.org>
+ Andrew Pinski <pinskia@physics.uc.edu>
+
+ * config/rs6000/sync.md (sync_<fetchop_name>si_internal): Change
+ operand2 constraint to "b".
+ (sync_<fetchop_name>di_internal): Same.
+ (sync_old_<fetchop_name>si_internal): Change operand3 constraint
+ to "b".
+ (sync_old_<fetchop_name>di_internal): Same.
+ (sync_new_<fetchop_name>si_internal): Same.
+ (sync_new_<fetchop_name>di_internal): Same.
+
2005-09-23 J"orn Rennecke <joern.rennecke@st.com>
PR middle-end/23991
diff --git a/gcc/config/rs6000/sync.md b/gcc/config/rs6000/sync.md
index 7678cf70a8e..92a42237605 100644
--- a/gcc/config/rs6000/sync.md
+++ b/gcc/config/rs6000/sync.md
@@ -132,7 +132,7 @@
[(FETCHOP:SI (match_dup 0)
(match_operand:SI 1 "<fetchop_pred>" "<fetchopsi_constr>"))]
UNSPEC_ATOMIC))
- (clobber (match_scratch:SI 2 "=&r"))
+ (clobber (match_scratch:SI 2 "=&b"))
(clobber (match_scratch:CC 3 "=&x"))]
"TARGET_POWERPC"
"#"
@@ -150,7 +150,7 @@
[(FETCHOP:DI (match_dup 0)
(match_operand:DI 1 "<fetchop_pred>" "<fetchopdi_constr>"))]
UNSPEC_ATOMIC))
- (clobber (match_scratch:DI 2 "=&r"))
+ (clobber (match_scratch:DI 2 "=&b"))
(clobber (match_scratch:CC 3 "=&x"))]
"TARGET_POWERPC"
"#"
@@ -234,7 +234,7 @@
[(FETCHOP:SI (match_dup 1)
(match_operand:SI 2 "<fetchop_pred>" "<fetchopsi_constr>"))]
UNSPEC_ATOMIC))
- (clobber (match_scratch:SI 3 "=&r"))
+ (clobber (match_scratch:SI 3 "=&b"))
(clobber (match_scratch:CC 4 "=&x"))]
"TARGET_POWERPC"
"#"
@@ -254,7 +254,7 @@
[(FETCHOP:DI (match_dup 1)
(match_operand:DI 2 "<fetchop_pred>" "<fetchopdi_constr>"))]
UNSPEC_ATOMIC))
- (clobber (match_scratch:DI 3 "=&r"))
+ (clobber (match_scratch:DI 3 "=&b"))
(clobber (match_scratch:CC 4 "=&x"))]
"TARGET_POWERPC"
"#"
@@ -344,7 +344,7 @@
(unspec:SI
[(FETCHOP:SI (match_dup 1) (match_dup 2))]
UNSPEC_ATOMIC))
- (clobber (match_scratch:SI 3 "=&r"))
+ (clobber (match_scratch:SI 3 "=&b"))
(clobber (match_scratch:CC 4 "=&x"))]
"TARGET_POWERPC"
"#"
@@ -365,7 +365,7 @@
(unspec:DI
[(FETCHOP:DI (match_dup 1) (match_dup 2))]
UNSPEC_ATOMIC))
- (clobber (match_scratch:DI 3 "=&r"))
+ (clobber (match_scratch:DI 3 "=&b"))
(clobber (match_scratch:CC 4 "=&x"))]
"TARGET_POWERPC"
"#"