Re: [PATCH 4/5] arm: Set predicable on more instructions.

2011-12-01 Thread Richard Henderson
On 12/01/2011 03:22 AM, Ramana Radhakrishnan wrote: >> "tst\\t%0, #255" >> - [(set_attr "conds" "set")] >> + [(set_attr "conds" "set") >> + (set_attr "predicable" "yes")] >> ) > > It should be tst%? . Otherwise in the predicable case we wouldn't have > the condition code printed out. Yes,

Re: [PATCH 4/5] arm: Set predicable on more instructions.

2011-12-01 Thread Ramana Radhakrishnan
Hi Richard, > --- >  gcc/config/arm/arm.md |   40 ++-- >  1 files changed, 30 insertions(+), 10 deletions(-) > > diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md > index b01343c..3b24627 100644 > --- a/gcc/config/arm/arm.md > +++ b/gcc/config/arm/arm

[PATCH 4/5] arm: Set predicable on more instructions.

2011-11-30 Thread Richard Henderson
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 | 40 ++-- 1 files changed, 30 insertions(+)