|
|
@ -1094,7 +1094,7 @@ POWERPC_PERF_START_COUNT(altivec_hadamard8_diff8x8_num, 1); |
|
|
|
dstV = \
|
|
|
|
dstV = \
|
|
|
|
(vector signed short)vec_mergeh((vector signed char)vzero, \
|
|
|
|
(vector signed short)vec_mergeh((vector signed char)vzero, \
|
|
|
|
(vector signed char)dstO); \
|
|
|
|
(vector signed char)dstO); \
|
|
|
|
/* subtractions inside the first butterfly */ \
|
|
|
|
/* subtractions inside the first butterfly */ \
|
|
|
|
but0 = vec_sub(srcV, dstV); \
|
|
|
|
but0 = vec_sub(srcV, dstV); \
|
|
|
|
op1 = vec_perm(but0, but0, perm1); \
|
|
|
|
op1 = vec_perm(but0, but0, perm1); \
|
|
|
|
but1 = vec_mladd(but0, vprod1, op1); \
|
|
|
|
but1 = vec_mladd(but0, vprod1, op1); \
|
|
|
@ -1267,7 +1267,7 @@ static int hadamard8_diff16x8_altivec(/*MpegEncContext*/ void *s, uint8_t *dst, |
|
|
|
dstW = \
|
|
|
|
dstW = \
|
|
|
|
(vector signed short)vec_mergel((vector signed char)vzero, \
|
|
|
|
(vector signed short)vec_mergel((vector signed char)vzero, \
|
|
|
|
(vector signed char)dstO); \
|
|
|
|
(vector signed char)dstO); \
|
|
|
|
/* subtractions inside the first butterfly */ \
|
|
|
|
/* subtractions inside the first butterfly */ \
|
|
|
|
but0 = vec_sub(srcV, dstV); \
|
|
|
|
but0 = vec_sub(srcV, dstV); \
|
|
|
|
but0S = vec_sub(srcW, dstW); \
|
|
|
|
but0S = vec_sub(srcW, dstW); \
|
|
|
|
op1 = vec_perm(but0, but0, perm1); \
|
|
|
|
op1 = vec_perm(but0, but0, perm1); \
|
|
|
|