mirror of
https://forge.sourceware.org/marek/gcc.git
synced 2026-02-22 12:00:11 -05:00
d7434f3babc5a954fa68dd0c8ce6d4e917a017c1
Now for __builtin_popcountl we are getting things like vrepli.b $vr0,0 vinsgr2vr.d $vr0,$r4,0 vpcnt.d $vr0,$vr0 vpickve2gr.du $r4,$vr0,0 slli.w $r4,$r4,0 jr $r1 The "vrepli.b" instruction is introduced by the init-regs pass (see PR61810 and all the issues it references). To work it around, we can use post-reload instead of define_expand: the "f" constraint will make the compiler automatically move the scalar between GPR and FPR, and reload is much later than init-regs so init-regs won't get in our way. Now the code looks like: movgr2fr.d $f0,$r4 vpcnt.d $vr0,$vr0 movfr2gr.d $r4,$f0 jr $r1 gcc/ChangeLog: * config/loongarch/loongarch.md (cntmap): Change to uppercase. (popcount<GPR:mode>2): Modify to a post reload split.
…
…
…
…
…
…
…
…
…
…
…
…
…
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.7%
C
30%
Ada
14.5%
D
6.1%
Go
5.7%
Other
12.5%