mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
cb80cdbef47fa06538c763315e563216ace3673d
In this patch, we add the new instruction attribute "sve_type" and use it to annotate the SVE instructions in aarch64-sve.md and aarch64-sve2.md. This allows us to use instruction attributes to group instructions into dispatch groups for dispatch scheduling. While there had already been fine-grained annotation of scalar and neon instructions (mostly using the "type"-attribute), annotation was missing for SVE instructions. The values of the attribute "sve_type" are comparatively coarse-grained, but fulfill the two criteria we aimed for with regard to dispatch scheduling: - the annotation allows the definition of CPU-specific high-level attributes mapping instructions to dispatch constraints - the annotation is by itself CPU-independent and consistent, i.e. all instructions fulfilling certain criteria are tagged with the corresponding value The patch was bootstrapped and tested on aarch64-linux-gnu, no regression. Signed-off-by: Jennifer Schmitz <jschmitz@nvidia.com> gcc/ChangeLog: * config/aarch64/aarch64-sve.md: Annotate instructions with attribute sve_type. * config/aarch64/aarch64-sve2.md: Likewise. * config/aarch64/aarch64.md (sve_type): New attribute sve_type. * config/aarch64/iterators.md (sve_type_unspec): New int attribute. (sve_type_int): New code attribute. (sve_type_fp): New int attribute.
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
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
Languages
C++
30.8%
C
30.2%
Ada
14.4%
D
6.1%
Go
5.7%
Other
12.3%