Uros Bizjak c6bff80d78 i386: Improve memory copy from named address space [PR111657]
The stringop strategy selection algorithm falls back to a libcall strategy
when it exhausts its pool of available strategies.  The memory area copy
function (memcpy) is not availabe from the system library for non-default
address spaces, so the compiler emits the most trivial byte-at-a-time
copy loop instead.

The compiler should instead emit an optimized copy loop as a fallback for
non-default address spaces.

	PR target/111657

gcc/ChangeLog:

	* config/i386/i386-expand.cc (alg_usable_p): Reject libcall
	strategy for non-default address spaces.
	(decide_alg): Use loop strategy as a fallback strategy for
	non-default address spaces.

gcc/testsuite/ChangeLog:

	* gcc.target/i386/pr111657.c: New test.
2023-10-05 17:43:10 +02:00
2023-09-16 00:17:55 +00:00
2023-10-05 17:41:54 +02:00
2023-09-21 00:17:49 +00:00
2023-09-29 00:17:28 +00:00
2023-09-30 00:17:24 +00:00
2023-10-05 00:18:18 +00:00
2023-09-24 00:16:58 +00:00
2023-10-05 00:18:18 +00:00
2023-10-05 00:18:18 +00:00
2023-10-04 14:50:35 -04:00

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.
Description
No description provided
Readme 4.2 GiB
Languages
C++ 30.7%
C 30.2%
Ada 14.4%
D 6.1%
Go 5.7%
Other 12.4%