public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/38350] New: odd extra unused stack space/register allocated with asm
@ 2008-12-01 15:16 hp at gcc dot gnu dot org
2008-12-01 15:21 ` [Bug target/38350] " hp at gcc dot gnu dot org
2008-12-01 15:22 ` hp at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: hp at gcc dot gnu dot org @ 2008-12-01 15:16 UTC (permalink / raw)
To: gcc-bugs
For the attached code, there's no reason why the generated code at -O2 would
need an unused stack-slot (a second with -march=v10, a first with -march=v32)
when operand 5 (the last) of the asm is "g" than if it's "X". Using "X" seems
a little awkward life-time-wise because the input is supposed to be valid.
I don't see this oddness on the host with native 4.1.2 on the host,
with/without -m32.
--
Summary: odd extra unused stack space/register allocated with asm
Product: gcc
Version: 4.3.3
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: target
AssignedTo: hp at gcc dot gnu dot org
ReportedBy: hp at gcc dot gnu dot org
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: cris-axis-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38350
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/38350] odd extra unused stack space/register allocated with asm
2008-12-01 15:16 [Bug target/38350] New: odd extra unused stack space/register allocated with asm hp at gcc dot gnu dot org
@ 2008-12-01 15:21 ` hp at gcc dot gnu dot org
2008-12-01 15:22 ` hp at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: hp at gcc dot gnu dot org @ 2008-12-01 15:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from hp at gcc dot gnu dot org 2008-12-01 15:20 -------
Created an attachment (id=16801)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16801&action=view)
testcase
Change the last constraint from g to X and compile with 4.3-branch r142284 with
-O2 -march=v32 and -O2 -march=v10 to expose the oddness.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38350
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/38350] odd extra unused stack space/register allocated with asm
2008-12-01 15:16 [Bug target/38350] New: odd extra unused stack space/register allocated with asm hp at gcc dot gnu dot org
2008-12-01 15:21 ` [Bug target/38350] " hp at gcc dot gnu dot org
@ 2008-12-01 15:22 ` hp at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: hp at gcc dot gnu dot org @ 2008-12-01 15:22 UTC (permalink / raw)
To: gcc-bugs
--
hp at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-12-01 15:20:43
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38350
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-12-01 15:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-01 15:16 [Bug target/38350] New: odd extra unused stack space/register allocated with asm hp at gcc dot gnu dot org
2008-12-01 15:21 ` [Bug target/38350] " hp at gcc dot gnu dot org
2008-12-01 15:22 ` hp at gcc dot gnu 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).