re PR target/44072 (Use 'add r0, 1' to replace 'cmp r0, -1' in thumb2)
PR target/44072 * arm.md (cmpsi2_addneg): Prefer emitting adds to subs with a negative immediate. * constraints.md (Pw, Px): New constraints. * thumb2.md (cmpsi2_addneg peephole2): New peepholes. * gcc.target/arm/thumb2-cmpneg2add-1.c: New test. * gcc.target/arm/thumb2-cmpneg2add-2.c: New test. From-SVN: r161040
Showing
Please
register
or
sign in
to comment