public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug target/17838] New: spills are not re-used @ 2004-10-05 8:56 dean-gcc at arctic dot org 2004-10-05 8:57 ` [Bug target/17838] " dean-gcc at arctic dot org ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: dean-gcc at arctic dot org @ 2004-10-05 8:56 UTC (permalink / raw) To: gcc-bugs the code produced by this has a 1036 byte stack frame... hand inspection of the assembly finds many stack spills which are never re-used after the value is dead. for example look at 172(%esp), 748(%esp), 628(%esp), 588(%esp), ... .i and .s will be in attachments. -dean % /home/dean/gcc/bin/gcc -v -save-temps -std=c99 -O3 -g -Wall -march=pentium4 -fomit-frame-pointer -c -o sha256.o sha256.c Reading specs from /home/dean/gcc/lib/gcc/i686-pc-linux-gnu/4.0.0/specs Configured with: ../gcc/configure --prefix=/home/dean/gcc --with-gcc-version-trigger=/home/dean/gcc/gcc/gcc/version.c --enable-languages=c Thread model: posix gcc version 4.0.0 20041004 (experimental) /home/dean/gcc/libexec/gcc/i686-pc-linux-gnu/4.0.0/cc1 -E -quiet -v sha256.c -march=pentium4 -std=c99 -Wall -fomit-frame-pointer -fworking-directory -O3 -fpch-preprocess -o sha256.i ignoring nonexistent directory "/home/dean/gcc/lib/gcc/i686-pc-linux-gnu/4.0.0/../../../../i686-pc-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /usr/local/include /home/dean/gcc/include /home/dean/gcc/lib/gcc/i686-pc-linux-gnu/4.0.0/include /usr/include End of search list. /home/dean/gcc/libexec/gcc/i686-pc-linux-gnu/4.0.0/cc1 -fpreprocessed sha256.i -quiet -dumpbase sha256.c -march=pentium4 -auxbase-strip sha256.o -g -O3 -Wall -std=c99 -version -fomit-frame-pointer -o sha256.s GNU C version 4.0.0 20041004 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 3.3.4 (Debian 1:3.3.4-9). GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 as -V -Qy -o sha256.o sha256.s GNU assembler version 2.15 (i386-linux) using BFD version 2.15 -- Summary: spills are not re-used Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dean-gcc at arctic dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17838 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/17838] spills are not re-used 2004-10-05 8:56 [Bug target/17838] New: spills are not re-used dean-gcc at arctic dot org @ 2004-10-05 8:57 ` dean-gcc at arctic dot org 2004-10-05 8:58 ` dean-gcc at arctic dot org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: dean-gcc at arctic dot org @ 2004-10-05 8:57 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From dean-gcc at arctic dot org 2004-10-05 08:57 ------- Created an attachment (id=7280) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7280&action=view) sha256.i test input -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17838 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/17838] spills are not re-used 2004-10-05 8:56 [Bug target/17838] New: spills are not re-used dean-gcc at arctic dot org 2004-10-05 8:57 ` [Bug target/17838] " dean-gcc at arctic dot org @ 2004-10-05 8:58 ` dean-gcc at arctic dot org 2004-10-05 11:27 ` [Bug rtl-optimization/17838] " pinskia at gcc dot gnu dot org 2004-10-05 13:08 ` bangerth at dealii dot org 3 siblings, 0 replies; 5+ messages in thread From: dean-gcc at arctic dot org @ 2004-10-05 8:58 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From dean-gcc at arctic dot org 2004-10-05 08:58 ------- Created an attachment (id=7281) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7281&action=view) sha256.s output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17838 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug rtl-optimization/17838] spills are not re-used 2004-10-05 8:56 [Bug target/17838] New: spills are not re-used dean-gcc at arctic dot org 2004-10-05 8:57 ` [Bug target/17838] " dean-gcc at arctic dot org 2004-10-05 8:58 ` dean-gcc at arctic dot org @ 2004-10-05 11:27 ` pinskia at gcc dot gnu dot org 2004-10-05 13:08 ` bangerth at dealii dot org 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-10-05 11:27 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-05 11:27 ------- Confirmed, we know about this problem already, I thought there was a bug for this but I could be wrong. -- What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Status|UNCONFIRMED |NEW Component|target |rtl-optimization Ever Confirmed| |1 Keywords| |missed-optimization Last reconfirmed|0000-00-00 00:00:00 |2004-10-05 11:27:34 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17838 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug rtl-optimization/17838] spills are not re-used 2004-10-05 8:56 [Bug target/17838] New: spills are not re-used dean-gcc at arctic dot org ` (2 preceding siblings ...) 2004-10-05 11:27 ` [Bug rtl-optimization/17838] " pinskia at gcc dot gnu dot org @ 2004-10-05 13:08 ` bangerth at dealii dot org 3 siblings, 0 replies; 5+ messages in thread From: bangerth at dealii dot org @ 2004-10-05 13:08 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From bangerth at dealii dot org 2004-10-05 13:08 ------- There are probably a number of PRs about excessive stack usage. W. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17838 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-10-05 13:08 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-10-05 8:56 [Bug target/17838] New: spills are not re-used dean-gcc at arctic dot org 2004-10-05 8:57 ` [Bug target/17838] " dean-gcc at arctic dot org 2004-10-05 8:58 ` dean-gcc at arctic dot org 2004-10-05 11:27 ` [Bug rtl-optimization/17838] " pinskia at gcc dot gnu dot org 2004-10-05 13:08 ` bangerth at dealii dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).