>> Hello, I want to rewrite the smartyuv for the IBM Cell BE which supports >> AltiVec instructions. In the transcode there are instructions using AltiVec >> but I cannot find which header file I should include to make the compiler >> recognize the type like "vector" or the function like "vec_ld". Do you have >> any idea? Thank you!
>Yes, the smartyuv is the only piece of transcode with some altivec >optimizations. They are disabled by default because nobody cared about >PPC/Altivec for ages; if you or someone else want to invest to add >altivec optimizations (aclib, filters, etc. etc.) it would be welcome, >(in transcode-devel!) I found the answer: just include <altivec.h> header file which defines the intrinsics. And then set -mabi=altivec and -maltivec flags in case GCC compliation is used. But in IBM Cell BE the intensive computation is not intended to run on PPE (Power Processor Element) but 8 SPEs (Synergistic Processor Element) to get full speed and parallel optimization. I have to migrate the AltiVec to SPU ...
