Jakub Jelinek 99b9dfaff6 i386: Add vec_fm{addsub,subadd}v2sf4 patterns [PR116979]
As mentioned in the PR, the addition of vec_addsubv2sf3 expander caused
the testcase to be vectorized and no longer to use fma.
The following patch adds new expanders so that it can be vectorized
again with the alternating add/sub fma instructions.

There is some bug on the slp cost computation side which causes it
not to count some scalar multiplication costs, but I think the patch
is desirable anyway before that is fixed and the testcase for now just
uses -fvect-cost-model=unlimited.

2024-12-13  Jakub Jelinek  <jakub@redhat.com>

	PR target/116979
	* config/i386/mmx.md (vec_fmaddsubv2sf4, vec_fmsubaddv2sf4): New
	define_expand patterns.

	* gcc.target/i386/pr116979.c: New test.
2024-12-13 10:32:57 +01:00
2024-11-26 00:19:26 +00:00
2024-12-11 00:19:28 +00:00
2024-11-24 00:18:09 +00:00
2024-11-19 00:19:52 +00:00
2024-11-30 00:20:11 +00:00
2024-09-21 00:16:55 +00:00
2024-12-09 00:17:22 +00:00
2024-10-26 00:19:39 +00:00
2024-12-13 00:19:02 +00:00
2024-12-11 00:19:28 +00:00
2024-11-21 00:20:27 +00:00
2024-12-11 00:19:28 +00:00
2024-12-10 00:19:34 +00:00
2024-12-12 00:19:00 +00:00
2024-11-19 00:19:52 +00:00
2024-09-24 00:18:14 +00:00
2024-11-19 00:19:52 +00:00
2024-08-29 00:19:25 +00:00
2024-11-26 00:19:26 +00:00
2024-12-13 00:19:02 +00:00
2024-11-19 00:19:52 +00:00
2024-08-24 00:18:13 +00:00
2024-12-04 00:21:20 +00:00
2024-09-12 22:51:00 +08:00
2024-12-12 00:19:00 +00:00
2024-11-19 12:27:33 +01: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 1.5 GiB
Languages
C++ 30.7%
C 30%
Ada 14.5%
D 6.1%
Go 5.7%
Other 12.5%