config/arm/thumb2.md (thumb2_mov_notscc): Use MVN for true
authorMatthew Gretton-Dann <matthew.gretton-dann@arm.com>
Tue, 31 Jan 2012 11:50:19 +0000 (11:50 +0000)
committerMatthew Gretton-Dann <mgretton@gcc.gnu.org>
Tue, 31 Jan 2012 11:50:19 +0000 (11:50 +0000)
condition.

From-SVN: r183756

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

index 661583f..01c72de 100644 (file)
@@ -1,3 +1,8 @@
+2012-01-31  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       config/arm/thumb2.md (thumb2_mov_notscc): Use MVN for true
+       condition.
+
 2012-01-31  Jakub Jelinek  <jakub@redhat.com>
 
        PR bootstrap/52041
index 05585da..ad05feb 100644 (file)
        (not:SI (match_operator:SI 1 "arm_comparison_operator"
                 [(match_operand 2 "cc_register" "") (const_int 0)])))]
   "TARGET_THUMB2"
-  "ite\\t%D1\;mov%D1\\t%0, #0\;mvn%d1\\t%0, #1"
+  "ite\\t%D1\;mvn%D1\\t%0, #0\;mvn%d1\\t%0, #1"
   [(set_attr "conds" "use")
    (set_attr "length" "10")]
 )