http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51078
Bug #: 51078
Summary: [PATCH] performance improvement of std::count
algorithm
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51078
--- Comment #1 from Grygoriy Fuchedzhy
2011-11-10 11:39:08 UTC ---
Created attachment 25779
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25779
performance test
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51078
--- Comment #2 from Grygoriy Fuchedzhy
2011-11-10 11:40:20 UTC ---
Created attachment 25780
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25780
output of performance test
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51078
--- Comment #3 from Grygoriy Fuchedzhy
2011-11-10 11:41:14 UTC ---
Created attachment 25781
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25781
gnuplot script to plot test data
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51078
--- Comment #4 from Grygoriy Fuchedzhy
2011-11-10 11:42:23 UTC ---
Created attachment 25782
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25782
plot of performance boost against container size
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51078
--- Comment #5 from Grygoriy Fuchedzhy
2011-11-10 11:43:00 UTC ---
Created attachment 25783
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25783
plot of performance boost against container size, logarithmic by size
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51078
--- Comment #7 from Grygoriy Fuchedzhy
2011-11-10 14:06:38 UTC ---
(In reply to comment #6)
> Before looking at your patch, do you have a copyright assignment in place for
> contributing to GCC?
No, but I'm ready to sign it. What should I do now
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51078
--- Comment #9 from Grygoriy Fuchedzhy
2011-11-10 18:08:31 UTC ---
(In reply to comment #8)
> I can't seem to find a mention of the compiler flags you used for your
> benchmarks, what are they? -Ofast -funroll-loops?
-march=native -O2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51078
--- Comment #11 from Grygoriy Fuchedzhy
2011-11-11 21:53:50 UTC ---
I've tried different optimization options:
1. -march=native -O2,
2. -march=native -O2 -funroll-loops,
3. -march=native -O2 -funroll-all-loops,
4. -march=native -O3,
5. -march=nat
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51078
Grygoriy Fuchedzhy changed:
What|Removed |Added
Attachment #25779|0 |1
is obsolete|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51078
--- Comment #14 from Grygoriy Fuchedzhy
2011-11-12 10:09:52 UTC ---
(In reply to comment #13)
> I would say, the next step, is analyzing why: std::count seems a very simple
> algorithm, no aliasing issues for example, compiler should be able to u
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: grygoriy.fuchedzhy at gmail dot com
Target Milestone: ---
Hi,
here is minimal example of code which I believe valid, compiles using
clang-3.5.2, but fails to compile using gcc-4.9.3 gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68926
--- Comment #3 from Grygoriy Fuchedzhy ---
Created attachment 37173
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37173&action=edit
patch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68926
Grygoriy Fuchedzhy changed:
What|Removed |Added
CC||jason at redhat dot com
--- Comment
14 matches
Mail list logo