aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAnatoly Sokolov <aesok@post.ru>2008-05-06 13:30:17 +0400
committerAnatoly Sokolov <aesok@gcc.gnu.org>2008-05-06 13:30:17 +0400
commit38ce04d982a3e0bd7aad548443119ba5bbe02757 (patch)
tree9931c011af7b3b8482ec24e288ee40cf20815fca /gcc
parent3234d6b0b0fe03b40710cd2ea7a6bcbbf7c0d7d9 (diff)
downloadgcc-38ce04d982a3e0bd7aad548443119ba5bbe02757.zip
gcc-38ce04d982a3e0bd7aad548443119ba5bbe02757.tar.gz
gcc-38ce04d982a3e0bd7aad548443119ba5bbe02757.tar.bz2
avr.md (*sbrx_branch, [...]): Change mode of zero_extract from QImode to HImode.
* config/avr/avr.md (*sbrx_branch, *sbix_branch, *sbix_branch_tmp): Change mode of zero_extract from QImode to HImode. (sign bit tests peepholes): (Ditto.). From-SVN: r134979
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/avr/avr.md10
2 files changed, 11 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 930772c..8f95e0d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2008-05-06 Anatoly Sokolov <aesok@post.ru>
+
+ * config/avr/avr.md (*sbrx_branch, *sbix_branch, *sbix_branch_tmp):
+ Change mode of zero_extract from QImode to HImode.
+ (sign bit tests peepholes): (Ditto.).
+
2008-05-06 Uros Bizjak <ubizjak@gmail.com>
* config/i386/mmx.md: Remove double backslashes from asm templates.
diff --git a/gcc/config/avr/avr.md b/gcc/config/avr/avr.md
index adaeb0e..137d325 100644
--- a/gcc/config/avr/avr.md
+++ b/gcc/config/avr/avr.md
@@ -2056,7 +2056,7 @@
[(set (pc)
(if_then_else
(match_operator 0 "eqne_operator"
- [(zero_extract:QI
+ [(zero_extract:HI
(match_operand:QI 1 "register_operand" "r")
(const_int 1)
(match_operand 2 "const_int_operand" "n"))
@@ -2123,7 +2123,7 @@
(label_ref (match_operand 1 "" ""))
(pc)))]
""
- [(set (pc) (if_then_else (eq (zero_extract:QI (match_dup 0)
+ [(set (pc) (if_then_else (eq (zero_extract:HI (match_dup 0)
(const_int 1)
(const_int 7))
(const_int 0))
@@ -2137,7 +2137,7 @@
(label_ref (match_operand 1 "" ""))
(pc)))]
""
- [(set (pc) (if_then_else (ne (zero_extract:QI (match_dup 0)
+ [(set (pc) (if_then_else (ne (zero_extract:HI (match_dup 0)
(const_int 1)
(const_int 7))
(const_int 0))
@@ -2518,7 +2518,7 @@
[(set (pc)
(if_then_else
(match_operator 0 "eqne_operator"
- [(zero_extract:QI
+ [(zero_extract:HI
(mem:QI (match_operand 1 "low_io_address_operand" "n"))
(const_int 1)
(match_operand 2 "const_int_operand" "n"))
@@ -2565,7 +2565,7 @@
[(set (pc)
(if_then_else
(match_operator 0 "eqne_operator"
- [(zero_extract:QI
+ [(zero_extract:HI
(mem:QI (match_operand 1 "high_io_address_operand" "n"))
(const_int 1)
(match_operand 2 "const_int_operand" "n"))