This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/79389] [7 Regression] 30% performance regression in SciMark2 MonteCarlo


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79389

--- Comment #11 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #10)
> Created attachment 40815 [details]
> gcc7-pr79389.patch
> 
> Full untested patch.

I can confirm that MonteCarlo benchmark considerably improves with -O2, but
please note that your patch is ineffective with -Ofast for some reason, and the
testcase still compiles to a jump.

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