Hi all, I noticed that the minmax_arithsi_non_canon splitter had a case where it would generate a MINUS rtx with an immediate. The canonical form is PLUS with negated immediate. This patch fixes that.
Tested arm-none-eabi on qemu with ARMv7-a, ARMv8-a, with and without -mthumb. Ok for trunk? Thanks, Kyrill 2013-08-01 Kyrylo Tkachov <kyrylo.tkac...@arm.com> * config/arm/arm.md (minmax_arithsi_non_canon): Emit canonical RTL form when subtracting a constant.
minmax_canon_minus.patch
Description: Binary data