avr.md (*sbrx_branch, [...]): Change mode of zero_extract from QImode to HImode.
authorAnatoly Sokolov <aesok@post.ru>
Tue, 6 May 2008 09:30:17 +0000 (13:30 +0400)
committerAnatoly Sokolov <aesok@gcc.gnu.org>
Tue, 6 May 2008 09:30:17 +0000 (13:30 +0400)
* 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

gcc/ChangeLog
gcc/config/avr/avr.md

index 930772c9d854991aa34640f388dcceaf9fa1daec..8f95e0d41c39b573c8230962cba7c7bd70bc08ee 100644 (file)
@@ -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.
index adaeb0ecd1553ad3837745213abcc807dcbb4b27..137d3258833b38e845c42175f0208f50eaae8c57 100644 (file)
   [(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"))
                           (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))
                           (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))
   [(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"))
   [(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"))