diff options
| -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 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 "" { |
