[Bug target/12817] [SYSV] Altivec code generation error with many registers used

amodra at bigpond dot net dot au gcc-bugzilla@gcc.gnu.org
Fri Nov 26 09:54:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list