On 12/14/2011 10:45 AM, Richard Earnshaw wrote:
> On 10/12/11 23:21, Richard Henderson wrote:
>> +(define_insn "*xorsi3_compare0_scratch_arm"
>
> The convention in arm.md is only to put 'scratch' in the name if the
> operation needs to allocate a scratch register for a result that isn't
> used (fo
On 10/12/11 23:21, Richard Henderson wrote:
> +(define_insn "*xorsi3_compare0_scratch_arm"
The convention in arm.md is only to put 'scratch' in the name if the
operation needs to allocate a scratch register for a result that isn't
used (for example the iorsi3_compare0_scratch pattern).
Otherwise
Make sure its set for all CMP, CMN, TST instructions, which do work
inside IT blocks. Split the TEQ pattern so that it can be predicated
in ARM mode for better compare-and-swap generation.
---
gcc/config/arm/arm.md | 42 +++---
1 files changed, 31 insertions(