This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/60884] New: [SH] improve inlined strlen-like builtin functions
- From: "olegendo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 18 Apr 2014 09:52:02 +0000
- Subject: [Bug target/60884] New: [SH] improve inlined strlen-like builtin functions
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60884
Bug ID: 60884
Summary: [SH] improve inlined strlen-like builtin functions
Product: gcc
Version: 4.10.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: olegendo at gcc dot gnu.org
Target: sh*-*-*
This is a carry over from the proposed improvement to the strlen-like builtin
functions by Christian. The idea is to unroll some of the loops that are
expanded:
http://gcc.gnu.org/ml/gcc-patches/2014-03/msg01406.html
As mentioned in
http://gcc.gnu.org/ml/gcc-patches/2014-03/msg01687.html
maybe the unrolling should be done at -O3 and not at -O2, since it increases
code size in some places, but does not seem to lead to significant speed
improvements (~ 1% as measured by Christian).