This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Another benefit of the new if converter: better performance for half hammocks when running the generated code on a modern high-speed CPU with write-back caching, relative to the code produced by the old if converter given the same source code
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Abe <abe_skolnik at yahoo dot com>
- Cc: Alan Lawrence <alan dot lawrence at arm dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Sebastian Pop <sebpop at gmail dot com>
- Date: Fri, 31 Jul 2015 12:17:41 +0200
- Subject: Re: Another benefit of the new if converter: better performance for half hammocks when running the generated code on a modern high-speed CPU with write-back caching, relative to the code produced by the old if converter given the same source code
- Authentication-results: sourceware.org; auth=none
- References: <55A961C1 dot 1070206 at yahoo dot com> <CAFiYyc0MTHVT_7MBMpbx2K6vYLgZ5L37OPEaHPG_ey4qZAwnEw at mail dot gmail dot com> <55B7C27B dot 9000406 at yahoo dot com> <CAFiYyc2JRt6G0hOdshG0GftQF8+DOdOC-B7Y1hCMKXru4hZDtA at mail dot gmail dot com> <55B8FE61 dot 7060008 at yahoo dot com>
On Wed, Jul 29, 2015 at 6:25 PM, Abe <abe_skolnik@yahoo.com> wrote:
>> Well. We don't generally introduce regressions with changes.
>
>
> Understood. Regressions are bad, of course. TTBOMK the
> regressions in question are temporary. Once they are gone,
> I think we can then look at whether or not we still
> need to keep the old if converter in trunk. Ideally,
> it eventually becomes redundant and unneeded.
>
>
>> (well, the patch still needs review -
>
>> I hope to get to that this week).
>
> After I`ve done the SPEC-based analysis, my next planned steps
> on this work are to disable the code that [in my WIP] currently
> causes conversion to be enabled by default when autovectorization
> is enabled, then to re-integrate the old converter and implement
> the switches that will give GCC users access to the modes I described
> in a recent email from me. You might prefer to delay your code review
> until I have that all done and a new version of the patch submitted.
I'm not sure we want two if-converters. What we do want is avoid
using a scratch-pad if it is safe to do (for loads and stores)
and if the user tells us he is fine with store data races (for stores).
Does the "new" if-converter get rid of the analysis code that
determined "safe"? If so you should re-instantiate that.
Richard.
> Regards,
>
> Abe