On 13/12/2016 14:02, Diego Biurrun wrote: > +/*********************************************************************** > + * Null vector > + **********************************************************************/ > +#define LOAD_ZERO const vec_u8 zerov = vec_splat_u8( 0 ) > + > +#define zero_u8v (vec_u8) zerov > +#define zero_s8v (vec_s8) zerov > +#define zero_u16v (vec_u16) zerov > +#define zero_s16v (vec_s16) zerov > +#define zero_u32v (vec_u32) zerov > +#define zero_s32v (vec_s32) zerov
That reminds me I should check if the compiler is smarter and we could drop the LOAD_ZERO with impunity. lu _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
