Watch
34
Fork
You've already forked gcc-archive
2
mirror of https://gcc.gnu.org/git/gcc.git synced 2026-08-10 04:39:34 +00:00
Full archive of the gcc repository on sourceware. DO NOT FORK THIS REPO! You want to fork https://forge.sourceware.org/gcc/gcc instead. ... Read https://gcc.gnu.org/wiki/UsingForge first. https://gcc.gnu.org/wiki/UsingForge
  • C++ 30.8%
  • C 30.3%
  • Ada 14.3%
  • D 6%
  • Go 5.6%
  • Other 12.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jin Ma a1ba7736cf RISC-V: Improve macro-fusion dump output and comments
No new macro-fusion functionality is added.  Include both
instruction UIDs in dump messages so consecutive matches can be
distinguished, and report ZEXTW and ZEXTWS with their actual fusion types.
Document existing fusion recognizers consistently to make their RTL
relationships and constraints easier to understand.

Keep each table entry tied to one fusion operation and use the common
enablement helper.

gcc/ChangeLog:

	* config/riscv/riscv-fusion.cc (riscv_fuse_zext_common): New function.
	(riscv_fuse_zextw): Likewise.
	(riscv_fuse_zextws): Use riscv_fuse_zext_common and document RTL
	relationships and constraints.
	(riscv_fuse_zexth): Use riscv_fuse_zext_common.
	(riscv_fuse_ldindexed): Document RTL relationships and constraints.
	(riscv_fuse_expanded_ld): Likewise.
	(riscv_fuse_ldpreincrement): Likewise.
	(riscv_fuse_lui_addi): Likewise.
	(riscv_fuse_auipc_addi): Likewise.
	(riscv_fuse_lui_ld): Likewise.
	(riscv_fuse_auipc_ld): Likewise.
	(riscv_fuse_cache_aligned_std): Likewise.
	(riscv_fuse_aligned_std): Likewise.
	(riscv_fuse_bfext): Likewise.
	(riscv_fuse_b_alui): Likewise.
	(riscv_fusion_entry::op): Rename from op_flags and use an enum.
	(riscv_fusion_table): Split ZEXTW and ZEXTWS entries.
	(riscv_macro_fusion_pair_p): Use riscv_fusion_enabled_p and print
	instruction UIDs.

gcc/testsuite/ChangeLog:

	* gcc.target/riscv/fusion-zextw-2.c: Expect the ZEXTW dump name.
	* gcc.target/riscv/fusion-zextw.c: Likewise.

Signed-off-by: Jin Ma <jinma@linux.alibaba.com>
2026-08-10 10:51:26 +08:00
.forgejo forge: Add a prototype CODEOWNERS file 2026-06-05 17:58:58 +01:00
.github Mention the forge on unofficial mirrors 2026-07-24 07:43:47 +00:00
c++tools Daily bump. 2026-06-30 00:16:45 +00:00
config Daily bump. 2026-08-05 00:16:50 +00:00
contrib Daily bump. 2026-08-07 00:16:48 +00:00
fixincludes Daily bump. 2026-06-30 00:16:45 +00:00
gcc RISC-V: Improve macro-fusion dump output and comments 2026-08-10 10:51:26 +08:00
gnattools Daily bump. 2026-06-30 00:16:45 +00:00
gotools Daily bump. 2026-06-30 00:16:45 +00:00
include Daily bump. 2026-07-23 00:16:35 +00:00
INSTALL
libada Daily bump. 2026-06-30 00:16:45 +00:00
libatomic Daily bump. 2026-06-30 00:16:45 +00:00
libbacktrace Daily bump. 2026-07-07 00:16:36 +00:00
libcc1 Daily bump. 2026-06-30 00:16:45 +00:00
libcody Daily bump. 2026-05-31 00:16:35 +00:00
libcpp Daily bump. 2026-08-07 00:16:48 +00:00
libdecnumber Daily bump. 2026-05-31 00:16:35 +00:00
libffi Daily bump. 2026-06-18 00:16:35 +00:00
libga68 Daily bump. 2026-08-07 00:16:48 +00:00
libgcc Daily bump. 2026-08-06 00:16:39 +00:00
libgcobol Daily bump. 2026-08-08 00:17:09 +00:00
libgfortran Daily bump. 2026-08-04 00:16:36 +00:00
libgm2 Daily bump. 2026-07-10 00:16:35 +00:00
libgo libgo: cmd/go: use 'gcloud storage cp' instead of 'gsutil cp' 2026-05-02 16:21:35 -07:00
libgomp Daily bump. 2026-08-06 00:16:39 +00:00
libgrust Daily bump. 2026-06-30 00:16:45 +00:00
libiberty Daily bump. 2026-07-02 00:16:40 +00:00
libitm Daily bump. 2026-07-10 00:16:35 +00:00
libobjc Daily bump. 2026-06-30 00:16:45 +00:00
libphobos Daily bump. 2026-07-11 00:16:37 +00:00
libquadmath Daily bump. 2026-06-30 00:16:45 +00:00
libsanitizer Daily bump. 2026-07-24 00:16:42 +00:00
libssp Daily bump. 2026-07-04 00:16:37 +00:00
libstdc++-v3 Daily bump. 2026-08-08 00:17:09 +00:00
libvtv Daily bump. 2026-06-30 00:16:45 +00:00
lto-plugin Daily bump. 2026-06-30 00:16:45 +00:00
maintainer-scripts Daily bump. 2026-04-23 00:16:32 +00:00
zlib Daily bump. 2025-12-30 00:16:33 +00:00
.b4-config
.dir-locals.el
.editorconfig editorconfig: Add rules for yaml/yml files. 2026-07-07 11:02:11 +01:00
.gitattributes
.gitignore
ABOUT-NLS
ar-lib
ChangeLog Daily bump. 2026-08-08 00:17:09 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in toplevel: Unbreak Ada build [PR123490] 2026-01-10 11:36:25 +01:00
config.guess
config.rpath
config.sub
configure Run the bootstrap object comparison in parallel 2026-08-04 19:07:07 +02:00
configure.ac s390: Remove -m31 support 2026-07-09 09:28:12 +02:00
COPYING
COPYING.LIB
COPYING.RUNTIME
COPYING3
COPYING3.LIB
depcomp
install-sh
libtool-ldflags
libtool.m4 build: Cherry-pick libtool.m4 support for GNU ld *_sol2 emulations 2025-12-29 12:09:35 +01:00
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4
MAINTAINERS Update my entry in MAINTAINERS. 2026-08-07 09:51:26 -04:00
MAINTAINERS.yml Update my entry in MAINTAINERS. 2026-08-07 09:51:26 -04:00
Makefile.def toplevel: Fix typos in build files 2026-05-30 19:49:31 +05:30
Makefile.in Run the bootstrap object comparison in parallel 2026-08-04 19:07:07 +02:00
Makefile.tpl Run the bootstrap object comparison in parallel 2026-08-04 19:07:07 +02:00
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
README
SECURITY.txt a68: top-level misc files 2025-11-30 01:52:24 +01:00
symlink-tree bugzilla: remove gcc-bugs@ mailing list address 2026-01-09 11:10:38 +01:00
test-driver
ylwrap

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.