On Tue, Nov 08, 2016 at 03:29:43PM -0500, Lennart Sorensen wrote: >... > - CFLAGS="${CFLAGS} -maltivec" > + CFLAGS="${CFLAGS} -maltivec -fno-tree-vectorize" >... > And I realized the reason it was broken is that when using -maltivec and > -O4 (which vlc uses), you get -ftree-vectorize automatically enabled > which means gcc starts to automatically generate vector instructions > all over the place, which is not desired in this case. It rather defeats > the purpose of having a cpu feature check after all.
I do not understand this part. -maltivec should only be set for the code that is behind the runtime feature check, so this code is only run on hardware that has AltiVec. cu Adrian [1] -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed _______________________________________________ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers