serious bugs in Altivec implementation of gcc
Eyal Bagon
eyal@mobileye.com
Tue Aug 13 00:24:00 GMT 2002
hello
The max patch is working - thanks.
The problem with vec_msum still exist, the same problem occurs when I
use vec_vmsummbm instead of vec_msum - could the problem be somewhere in
the implementation of __builtin_altivec_vmsummbm ? ( by the way the
altivec.h file you send me is the same as I had )
another thing that I noticed when comparing assembler code of 2
corresponding files it looks like the new gcc code is less optimised
( I attached the testMax_2.9.2.cpp and testMax_3.2.cpp and their
corresponding assembler files.
I used : g++ -S -Wall -pedantic -ansi -Wno-long-long -DNDEBUG -O6
-DALTIVEC -fvec testMax_2.9.2.cpp
and : g++ -S -Wall -pedantic -ansi -Wno-long-long -DNDEBUG -O6 -DALTIVEC
-maltivec testMax_3.2.cpp
Thanks
Eyal
Aldy Hernandez wrote:
On Mon, Aug 12, 2002 at 02:53:42PM +0300, Eyal Bagon wrote:
More information about the Gcc
mailing list