This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]