diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-06-12 15:38:21 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-06-12 15:38:21 +0000 |
commit | 84dabd71d62f5e82642afa695f665244f733f99c (patch) | |
tree | 5209594af8dbb9fa5e30e5f039591790ae0c334f /gcc | |
parent | ab19f7e497522f09a999189edf815b892e3f9503 (diff) | |
download | gcc-84dabd71d62f5e82642afa695f665244f733f99c.tar.gz |
* config/rs6000/sync.md (atomic_load, atomic_store): Use INT1 mode
iterator instead of INT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188463 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/sync.md | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5a3abc76410..a8eafa9f87a 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 d4848a81cc8..5b794289ca7 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 "" { |