Kyrylo Tkachov cfa827188d aarch64: Use EOR3 for DImode values
Similar to BCAX, we can use EOR3 for DImode, but we have to be careful
not to force GP<->SIMD moves unnecessarily, so add a splitter for that case.

So for input:
uint64_t eor3_d_gp (uint64_t a, uint64_t b, uint64_t c) { return EOR3 (a, b, c); }
uint64x1_t eor3_d (uint64x1_t a, uint64x1_t b, uint64x1_t c) { return EOR3 (a, b, c); }

We generate the desired:
eor3_d_gp:
        eor     x1, x1, x2
        eor     x0, x1, x0
        ret

eor3_d:
        eor3    v0.16b, v0.16b, v1.16b, v2.16b
        ret

Bootstrapped and tested on aarch64-none-linux-gnu.

Signed-off-by: Kyrylo Tkachov <ktkachov@nvidia.com>

gcc/

	* config/aarch64/aarch64-simd.md (*eor3qdi4): New
	define_insn_and_split.

gcc/testsuite/

	* gcc.target/aarch64/simd/eor3_d.c: Add tests for DImode operands.
2025-07-11 16:10:03 +02:00
2025-07-11 08:33:18 +02:00
2025-07-11 16:10:03 +02:00
2025-07-10 00:20:18 +00:00
2025-07-11 00:19:26 +00:00
2025-07-11 00:19:26 +00:00
2025-07-10 00:20:18 +00:00
2025-07-02 00:19:39 +00:00
2025-07-05 00:19:48 +00:00
2025-07-08 00:19:43 +00:00
2025-07-07 11:58:41 +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 3.9 GiB
Languages
C++ 31%
C 30.2%
Ada 15%
D 6.3%
Go 5.9%
Other 11.1%