aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorWei Guozhi <carrot@google.com>2010-07-07 18:21:48 +0000
committerJing Yu <jingyu@gcc.gnu.org>2010-07-07 18:21:48 +0000
commit88c1612f9b87433af7bec8f93b546f2f89bfaea5 (patch)
tree4ff2604c01b328d3f8580292a3273ff67e97e41b /gcc
parentece53c911447fb9632b4e0596b5ec3e3f0a4de77 (diff)
downloadgcc-88c1612f9b87433af7bec8f93b546f2f89bfaea5.zip
gcc-88c1612f9b87433af7bec8f93b546f2f89bfaea5.tar.gz
gcc-88c1612f9b87433af7bec8f93b546f2f89bfaea5.tar.bz2
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 of lowest bits to lshift/compare): Add a missing line. From-SVN: r161930
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/thumb2.md2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e3330dc..d0096e8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,6 +1,11 @@
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
of lowest bits to lshift/compare): New.
2010-07-07 Tom Tromey <tromey@redhat.com>
diff --git a/gcc/config/arm/thumb2.md b/gcc/config/arm/thumb2.md
index 77f1ac4..55bb41f 100644
--- a/gcc/config/arm/thumb2.md
+++ b/gcc/config/arm/thumb2.md
@@ -1523,4 +1523,6 @@
(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]));
")