On Thu, Jun 20, 2013 at 2:38 PM, Kyrylo Tkachov <kyrylo.tkac...@arm.com> wrote: > Hi all, > > This patch adjusts the mov* patterns in the arm backend to generate code > appropriate for -mrestrict-it. The rules are: > moves between any two registers are allowed to be in IT blocks. mov immediate > are allowed if the immediate is 8-wide and the register is a low register. > > > The splitters that generate explicit cond_exec moves are adjusted to conform > to these rules, therefore making this patch self-contained. > The "Ts" constraint is introduced which evaluates to the low regs when > arm_restrict_it is on, and to the general regs otherwise. > > Bootstrapped on Cortex-A15 and tested on model and qemu on arm-none-eabi for > ARMv7 and ARMv8. > > Ok for trunk?
Ok. Ramana