Go to file
Alex Coplan 3fd07d4f04 libstdc++: Restore unrolling in std::find using pragma [PR116140]
Together with the preparatory compiler patches, this patch restores
unrolling in std::__find_if, but this time relying on the compiler to do
it by using:

  #pragma GCC unroll 4

which should restore the majority of the regression relative to the
hand-unrolled version while still being vectorizable with WIP alignment
peeling enhancements.

On Neoverse V1 with LTO, this reduces the regression in xalancbmk (from
SPEC CPU 2017) from 5.8% to 1.7% (restoring ~71% of the lost
performance).

libstdc++-v3/ChangeLog:

	PR libstdc++/116140
	* include/bits/stl_algobase.h (std::__find_if): Add #pragma to
	request GCC to unroll the loop.
2024-09-11 11:50:48 +01:00
.github
c++tools
config
contrib
fixincludes
gcc lto: Stream has_unroll flag during LTO [PR116140] 2024-09-11 11:50:48 +01:00
gnattools
gotools
include
INSTALL
libada
libatomic Daily bump. 2024-09-03 00:21:29 +00:00
libbacktrace
libcc1
libcody
libcpp
libdecnumber
libffi
libgcc
libgfortran Daily bump. 2024-09-08 00:17:46 +00:00
libgm2
libgo
libgomp Daily bump. 2024-09-03 00:21:29 +00:00
libgrust
libiberty Daily bump. 2024-09-08 00:17:46 +00:00
libitm Daily bump. 2024-09-03 00:21:29 +00:00
libobjc
libphobos Daily bump. 2024-09-03 00:21:29 +00:00
libquadmath
libsanitizer Daily bump. 2024-09-06 00:19:10 +00:00
libssp
libstdc++-v3 libstdc++: Restore unrolling in std::find using pragma [PR116140] 2024-09-11 11:50:48 +01:00
libvtv Daily bump. 2024-09-03 00:21:29 +00:00
lto-plugin
maintainer-scripts
zlib
.b4-config
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
ar-lib
ChangeLog Daily bump. 2024-09-05 00:19:06 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure rust: avoid clobbering LIBS 2024-09-04 10:44:28 +02:00
configure.ac rust: avoid clobbering LIBS 2024-09-04 10:44:28 +02:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS MAINTAINERS: Update my email address 2024-09-03 10:51:57 +01:00
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
README
SECURITY.txt
symlink-tree
test-driver
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.