thumb2.md (peephole2 to convert zero_extract/compare of lowest bits to lshift/compare...
authorWei Guozhi <carrot@google.com>
Wed, 7 Jul 2010 18:21:48 +0000 (18:21 +0000)
committerJing Yu <jingyu@gcc.gnu.org>
Wed, 7 Jul 2010 18:21:48 +0000 (18:21 +0000)
2010-07-07  Wei Guozhi  <carrot@google.com>
* config/arm/thumb2.md (peephole2 to convert zero_extract/compare
of lowest bits to lshift/compare): Add a missing line.

From-SVN: r161930

gcc/ChangeLog
gcc/config/arm/thumb2.md

index e3330dc4150918f0b15333669666f7ad88ce30a3..d0096e891ba424effd8570ad93a351a1f08588c5 100644 (file)
@@ -1,3 +1,8 @@
+2010-07-07  Wei Guozhi  <carrot@google.com>
+
+       * config/arm/thumb2.md (peephole2 to convert zero_extract/compare
+       of lowest bits to lshift/compare): Add a missing line.
+
 2010-07-07  Wei Guozhi  <carrot@google.com>
 
        * config/arm/thumb2.md (peephole2 to convert zero_extract/compare
index 77f1ac49f4956bd7bac114733aecb55d17d736f5..55bb41ff6973cf686800c8d3966ac17ca83bbb94 100644 (file)
    (set (pc)
        (if_then_else (match_op_dup 4 [(match_dup 0) (const_int 0)])
                      (match_dup 5) (match_dup 6)))]
+  "
+  operands[2] = GEN_INT (32 - INTVAL (operands[2]));
   ")