[TESTCASE] Minimized testcase for AltiVec segfault

Daniel Egger degger@fhm.edu
Wed Feb 27 15:06:00 GMT 2002


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



More information about the Gcc mailing list