Commit c49e23e2 authored by Luca Barbato's avatar Luca Barbato

Make strict altivec parsers happy (gcc-4.3 and others)

Originally committed as revision 11231 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 6cd1500d
...@@ -311,7 +311,7 @@ static void vc1_inv_trans_8x4_altivec(uint8_t *dest, int stride, DCTELEM *block) ...@@ -311,7 +311,7 @@ static void vc1_inv_trans_8x4_altivec(uint8_t *dest, int stride, DCTELEM *block)
#define ADD(dest,src,perm) \ #define ADD(dest,src,perm) \
/* *(uint64_t *)&tmp = *(uint64_t *)dest; */ \ /* *(uint64_t *)&tmp = *(uint64_t *)dest; */ \
tmp = vec_ld (0, dest); \ tmp = vec_ld (0, dest); \
tmp2 = (vector unsigned int)vec_perm (tmp, vec_splat_u8(0), perm); \ tmp2 = (vector signed short)vec_perm (tmp, vec_splat_u8(0), perm); \
tmp3 = vec_adds (tmp2, src); \ tmp3 = vec_adds (tmp2, src); \
tmp = vec_packsu (tmp3, tmp3); \ tmp = vec_packsu (tmp3, tmp3); \
vec_ste ((vector unsigned int)tmp, 0, (unsigned int *)dest); \ vec_ste ((vector unsigned int)tmp, 0, (unsigned int *)dest); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment