This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/15191] New: -maltivec -mabi=no-altivec results in mis-aligned lvx and stvx
- 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: 28 Apr 2004 14:44:47 -0000
- Subject: [Bug target/15191] New: -maltivec -mabi=no-altivec results in mis-aligned lvx and stvx
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Compiling the following with -m64 -O1 -maltivec -mabi=no-altivec
results in misaligned lvx data accesses in bar.
-m32 -O1 -maltivec -mabi=no-altivec results in misaligned stvx data accesses in f.
#define vector __attribute__ ((vector_size (16)))
vector int v1;
extern void bar (int, vector int, vector int, vector int,
vector int, vector int);
void f (void)
{
bar (2, v1, v1, v1, v1, v1);
}
void bar (int a, vector int b, vector int c, vector int d,
vector int e, vector int f)
{
v1 = b + c + d + e + f;
}
--
Summary: -maltivec -mabi=no-altivec results in mis-aligned lvx
and stvx
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: amodra at bigpond dot net dot au
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15191