Re: Function Parameters vs. Prologue (fastcall + O1 + -fschedule-insns2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 19, 2013 at 8:21 AM, Geyslan Gregório Bem <geyslan@xxxxxxxxx> wrote:
>
> About technicalities of the option and whether reordering is not really
> optimizing as demonstrated in the benchmark.

Every complex optimization has cases where it will actually make code
worse.  All optimizations rely on heuristics, and those heuristics
sometimes fail.  You have very likely found such a case, which is why
I suggested filing a missed-optimization bug report.  It may be
possible to fix it; I don't know.

Since the differences are subtle you should make sure you are using
the correct -mtune option for the machine on which you are running
your benchmarks.

Ian





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux