avr.md (*sbrx_branch, [...]): Add mode to zero_extract.
authorPaolo Bonzini <bonzini@gnu.org>
Tue, 29 Apr 2008 20:10:18 +0000 (20:10 +0000)
committerAnatoly Sokolov <aesok@gcc.gnu.org>
Tue, 29 Apr 2008 20:10:18 +0000 (00:10 +0400)
* config/avr/avr.md (*sbrx_branch, *sbix_branch, *sbix_branch_tmp):
Add mode to zero_extract.
(sign bit tests peepholes): (Ditto.).

From-SVN: r134809

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

index 9cd2d2812134ca4feb047b62b2d26db7e8a51fd5..2e29305b423f341640f51131d297496f414e19cb 100644 (file)
@@ -1,3 +1,9 @@
+2008-04-29  Paolo Bonzini  <bonzini@gnu.org>
+
+       * config/avr/avr.md (*sbrx_branch, *sbix_branch, *sbix_branch_tmp):
+       Add mode to zero_extract.
+       (sign bit tests peepholes): (Ditto.).
+
 2008-04-29  H.J. Lu  <hongjiu.lu@intel.com>
 
        * config/i386/i386.c (ix86_builtins): Replace Prescott New
index 922c4af21368a591c1b65ceaec3d08edd42e4a14..adaeb0ecd1553ad3837745213abcc807dcbb4b27 100644 (file)
   [(set (pc)
         (if_then_else
         (match_operator 0 "eqne_operator"
-                        [(zero_extract
+                        [(zero_extract:QI
                           (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 (match_dup 0)
-                                            (const_int 1)
-                                            (const_int 7))
+  [(set (pc) (if_then_else (eq (zero_extract:QI (match_dup 0)
+                                               (const_int 1)
+                                               (const_int 7))
                               (const_int 0))
                           (label_ref (match_dup 1))
                           (pc)))]
                           (label_ref (match_operand 1 "" ""))
                           (pc)))]
   ""
-  [(set (pc) (if_then_else (ne (zero_extract (match_dup 0)
-                                            (const_int 1)
-                                            (const_int 7))
+  [(set (pc) (if_then_else (ne (zero_extract:QI (match_dup 0)
+                                               (const_int 1)
+                                               (const_int 7))
                               (const_int 0))
                           (label_ref (match_dup 1))
                           (pc)))]
   [(set (pc)
        (if_then_else
         (match_operator 0 "eqne_operator"
-                        [(zero_extract
+                        [(zero_extract:QI
                           (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
+                        [(zero_extract:QI
                           (mem:QI (match_operand 1 "high_io_address_operand" "n"))
                           (const_int 1)
                           (match_operand 2 "const_int_operand" "n"))