Christophe Lyon e9c36605a4 arm: [MVE intrinsics] add support for tuples
This patch is largely a copy/paste from the aarch64 SVE counterpart,
and adds support for tuples to the MVE intrinsics framework.

Introduce function_resolver::infer_tuple_type which will be used to
resolve overloaded vst2q and vst4q function names in a later patch.

Fix access to acle_vector_types in a few places, as well as in
infer_vector_or_tuple_type because we should shift the tuple size to
the right by one bit when computing the array index.

The new wrap_type_in_struct, register_type_decl and infer_tuple_type
are largely copies of the aarch64 versions, and
register_builtin_tuple_types is very similar.

gcc/ChangeLog:

	* config/arm/arm-mve-builtins-shapes.cc (parse_type): Fix access
	to acle_vector_types.
	* config/arm/arm-mve-builtins.cc (wrap_type_in_struct): New.
	(register_type_decl): New.
	(register_builtin_tuple_types): Fix support for tuples.
	(function_resolver::infer_tuple_type): New.
	* config/arm/arm-mve-builtins.h
	(function_resolver::infer_tuple_type): Declare.
	(function_instance::tuple_type): Fix access to acle_vector_types.
2024-12-13 14:25:35 +00:00
2024-05-09 10:58:01 +00:00
2024-11-26 00:19:26 +00:00
2024-12-11 00:19:28 +00:00
2024-07-12 00:17:52 +00:00
2024-07-08 00:17:01 +00:00
2024-04-16 00:18:06 +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-04-03 00:17:29 +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-05-09 10:58:01 +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%