This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix PR optimization/11753 (SPARC)


Eric Botcazou <ebotcazou@libertysurf.fr> writes:

>> Is this optimization even a good idea on modern Sparc hardware?  It
>> seems like the sort of thing that would confuse a branch predictor.
>
> Yes, this is reflected in the condition:
>
>    && sparc_cpu != PROCESSOR_ULTRASPARC
>    && sparc_cpu != PROCESSOR_ULTRASPARC3

Ah.  Thanks for the clarification.

Your patch seems like the right thing to me, but I don't know the
Sparc back end very well.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]