Re: [PATCH][ARM] ce_count attribute for thumb2 abssi2 patterns

2012-12-11 Thread Ramana Radhakrishnan
gcc/testsuite/ChangeLog 2012-12-11 Kyrylo Tkachov Missing reference to PR in the testsuite changelog entry. * gcc.target/arm/pr55642.c: New testcase. Ok with that change. Ramana

[PATCH][ARM] ce_count attribute for thumb2 abssi2 patterns

2012-12-11 Thread Kyrylo Tkachov
Hi all, This patch fixes http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55642 It sets the ce_count attribute for the abssi2 patterns in thumb2.md. If we don't set it, gcc assumes that the pattern generates only one conditional instruction and produces the wrong enclosing IT instruction. The two affec