This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/12817] [SYSV] Altivec code generation error with many registers used
- From: "amodra at bigpond dot net dot au" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Nov 2004 09:54:51 -0000
- Subject: [Bug target/12817] [SYSV] Altivec code generation error with many registers used
- References: <20031028204226.12817.john.whitney@timesys.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From amodra at bigpond dot net dot au 2004-11-26 09:54 -------
/* vrsave code in the prologue trashes frame pointer reg
-m32 -maltivec -mabi=altivec -mvrsave=yes -S pr12817.c */
#define vector __attribute__ ((vector_size (16)))
extern void foo (int *);
vector int
v_add (vector int a, vector int b)
{
int x[10000];
foo (x);
return a + b;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12817