This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/34529] Wrong code with altivec stores and offsets
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Dec 2007 00:35:17 -0000
- Subject: [Bug rtl-optimization/34529] Wrong code with altivec stores and offsets
- References: <bug-34529-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-12-19 00:35 -------
Note here is a better testcase which clobbers all the usable registers:
static vector float b[560560];
void f(void);
vector float Mult(vector float a)
{
b[560560/16] = a;
asm
("":::"memory","0","3","4","5","6","7","8","9","10","11","12","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29",
"lr", "30", "31", "ctr");
b[560560/16] = a;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34529