Fix regrename SPEC performance regression

Richard Henderson rth@redhat.com
Tue Dec 8 20:59:00 GMT 2009


On 12/08/2009 04:09 AM, Paolo Bonzini wrote:
> On 12/06/2009 12:11 AM, Bernd Schmidt wrote:
>> bitmap untracked_operands
>
> Since this is indexed by operand number I would use a sbitmap.
>
> Actually, even an unsigned HOST_WIDEST_INT would do, I'd guess that >64
> operands break anyway somewhere else.
>
> Paolo

MAX_RECOG_OPERANDS is the known maximum number of operands.
It's set to 30 for the sake of asms, though I suppose that
a target *could* have some sort of weird pattern that used
more.  In any case it's easy to check at compile time and
#error if it got bigger.


r~



More information about the Gcc-patches mailing list