aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2012-06-12 08:38:21 -0700
committerRichard Henderson <rth@gcc.gnu.org>2012-06-12 08:38:21 -0700
commit126294f40c8ba9ef71ff36522a75a9a426871995 (patch)
tree5209594af8dbb9fa5e30e5f039591790ae0c334f
parentf75912e01308bb86829d706e2813278de3031327 (diff)
downloadgcc-126294f40c8ba9ef71ff36522a75a9a426871995.zip
gcc-126294f40c8ba9ef71ff36522a75a9a426871995.tar.gz
gcc-126294f40c8ba9ef71ff36522a75a9a426871995.tar.bz2
sync.md (atomic_load, [...]): Use INT1 mode iterator instead of INT.
* config/rs6000/sync.md (atomic_load, atomic_store): Use INT1 mode iterator instead of INT. From-SVN: r188463
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/sync.md8
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5a3abc7..a8eafa9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2012-06-12 Richard Henderson <rth@redhat.com>
+
+ * config/rs6000/sync.md (atomic_load, atomic_store): Use INT1 mode
+ iterator instead of INT.
+
2012-06-12 Bill Schmidt <wschmidt@linux.ibm.com>
* opts.c: Add -fhoist-adjacent-loads to -O2 and above.
diff --git a/gcc/config/rs6000/sync.md b/gcc/config/rs6000/sync.md
index d4848a8..5b79428 100644
--- a/gcc/config/rs6000/sync.md
+++ b/gcc/config/rs6000/sync.md
@@ -111,8 +111,8 @@
(set_attr "length" "12")])
(define_expand "atomic_load<mode>"
- [(set (match_operand:INT 0 "register_operand" "") ;; output
- (match_operand:INT 1 "memory_operand" "")) ;; memory
+ [(set (match_operand:INT1 0 "register_operand" "") ;; output
+ (match_operand:INT1 1 "memory_operand" "")) ;; memory
(use (match_operand:SI 2 "const_int_operand" ""))] ;; model
""
{
@@ -139,8 +139,8 @@
})
(define_expand "atomic_store<mode>"
- [(set (match_operand:INT 0 "memory_operand" "") ;; memory
- (match_operand:INT 1 "register_operand" "")) ;; input
+ [(set (match_operand:INT1 0 "memory_operand" "") ;; memory
+ (match_operand:INT1 1 "register_operand" "")) ;; input
(use (match_operand:SI 2 "const_int_operand" ""))] ;; model
""
{