Backport mainline 178102 and partial r172017 to ARM/embedded-4_6-branch. Committed.
2011-11-17 Jiangning Liu <jiangning....@arm.com> Backport r178102 from mainline 2011-08-26 Jiangning Liu <jiangning....@arm.com> * config/arm/arm.md (*ior_scc_scc): Enable for Thumb2 as well. (*ior_scc_scc_cmp): Likewise (*and_scc_scc): Likewise. (*and_scc_scc_cmp): Likewise. (*and_scc_scc_nodom): Likewise. (*cmp_ite0, *cmp_ite1, *cmp_and, *cmp_ior): Handle Thumb2. Partially backport r172017 from mainline 2011-04-06 Wei Guozhi <car...@google.com> * config/arm/constraints.md (Py): New constraint. testsuite: 2011-11-17 Jiangning Liu <jiangning....@arm.com> Backport r178102 from mainline 2011-08-26 Jiangning Liu <jiangning....@arm.com> * gcc.target/arm/thumb2-cond-cmp-1.c: New. * gcc.target/arm/thumb2-cond-cmp-2.c: Likewise. * gcc.target/arm/thumb2-cond-cmp-3.c: Likewise. * gcc.target/arm/thumb2-cond-cmp-4.c: Likewise.