]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/51425 (Compiler fails to produce SBIS/SBIC instructions)
authorGeorg-Johann Lay <avr@gjlay.de>
Fri, 9 Dec 2011 11:54:29 +0000 (11:54 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Fri, 9 Dec 2011 11:54:29 +0000 (11:54 +0000)
PR target/51425
* config/avr/avr.md (config/avr/avr.md, *sbix_branch_tmp): Use
zero_extract:QIHI instead of zero_extract:HI.

From-SVN: r182159

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

index 7dfa77fc54da4042c3726e26e2c80597223ae762..75fae33482a08e43b67ffc9032c727d654215124 100644 (file)
@@ -1,3 +1,9 @@
+2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
+
+       PR target/51425
+       * config/avr/avr.md (config/avr/avr.md, *sbix_branch_tmp): Use
+       zero_extract:QIHI instead of zero_extract:HI.
+
 2011-12-09  Jakub Jelinek  <jakub@redhat.com>
            Andrew Pinski  <apinski@cavium.com>
 
index 1c79894f1841df83e71ac8e8bf665d9d3dd2b5b8..940a46fe7528a9d8321d30030c3b6826c245b884 100644 (file)
   [(set (pc)
        (if_then_else
         (match_operator 0 "eqne_operator"
-                        [(zero_extract:HI
+                        [(zero_extract:QIHI
                           (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:HI
+                        [(zero_extract:QIHI
                           (mem:QI (match_operand 1 "high_io_address_operand" "n"))
                           (const_int 1)
                           (match_operand 2 "const_int_operand" "n"))