This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [TESTCASE] Minimized testcase for AltiVec segfault
- From: Daniel Egger <degger at fhm dot edu>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: GCC Developer Mailinglist <gcc at gcc dot gnu dot org>
- Date: 27 Feb 2002 23:58:13 +0100
- Subject: Re: [TESTCASE] Minimized testcase for AltiVec segfault
- References: <BF3BB4D5-2B3D-11D6-A71E-000393750C1E@redhat.com>
Am Mit, 2002-02-27 um 05.52 schrieb Aldy Hernandez:
> second, it would probably better if you configured with --enable-altivec.
> did you do that? if so, you don't need to pass -maltivec or
> -mabi=altivec.
DOH! It does work with -mabi=altivec though you should really explain
to me why it will affect address generation like this:
lwz 9,48(31)
lvx 0,0,9
- li 0,56
+ li 0,64
stvx 0,31,0
lwz 9,48(31)
- li 0,56
+ li 0,64
lvx 0,31,0
stvx 0,0,9
lwz 11,0(1)
If I understand the issues correctly it's just about saving the vector
registers so they don't get clobbered. After all it still might be a bug
which should be fixed.
--
Servus,
Daniel