Hi all, The constraint for iordi3_insn should take into account that we don't have an orr instruction to deal with inverted immediate in ARM mode, but we do in Thumb2 mode (orn). I had tried to reuse the De constraint from the anddi3 case, but that's not appropriate in all cases, causing an ICE in some cases. This patch adds a new constraint for use by iordi3_insn to ensure that the appropriate immediates are accepted.
Tested arm-none-eabi with and without -mthumb on qemu. Ok for trunk? Thanks, Kyrill 2013-06-06 Kyrylo Tkachov <kyrylo.tkac...@arm.com> * config/arm/constraints.md (Df): New constraint. * config/arm/arm.md (iordi3_insn): Use Df constraint instead of De. Correct length attribute for last two alternatives.
fix_iordi.patch
Description: Binary data