This is the mail archive of the gcc@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]

Re: [TESTCASE] Minimized testcase for AltiVec segfault


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


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