+2012-12-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ PR target/55642
+ * config/arm/thumb2.md (*thumb2_abssi2):
+ Set ce_count attribute to 2.
+ (*thumb2_neg_abssi2): Likewise.
+
2012-12-11 Jakub Jelinek <jakub@redhat.com>
* varasm.c (get_variable_section): Don't return lcomm_section
[(set_attr "conds" "clob,*")
(set_attr "shift" "1")
(set_attr "predicable" "no, yes")
+ (set_attr "ce_count" "2")
(set_attr "length" "10,8")]
)
[(set_attr "conds" "clob,*")
(set_attr "shift" "1")
(set_attr "predicable" "no, yes")
+ (set_attr "ce_count" "2")
(set_attr "length" "10,8")]
)
+2012-12-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+ PR target/55642
+ * gcc.target/arm/pr55642.c: New testcase.
+
2012-12-11 Jakub Jelinek <jakub@redhat.com>
PR middle-end/43631
--- /dev/null
+/* { dg-options "-mthumb -O2" } */
+/* { dg-do compile } */
+/* { dg-require-effective-target arm_thumb2_ok } */
+
+int
+foo (int v)
+{
+ register int i asm ("r0");
+ register int j asm ("r1");
+ if (v > 1)
+ i = abs (j);
+
+ return i;
+}
+