[FFmpeg-devel] [PATCH 1/7] Replaced inline asm for prefetching with prefetch macros

Michael Niedermayer michaelni at gmx.at
Fri Mar 27 23:44:50 CET 2015


On Fri, Mar 27, 2015 at 04:51:42PM -0400, Tucker DiNapoli wrote:
> From: Tucker DiNapoli <T.DiNapoli42 at gmail.com>
> 
> This series of patches makes some changes to libpostproc in preperation for adding
> sse2 and avx2 simd versions of some functions. None of the changes should effect
> the library in any major way, but they are necessary for future changes.
> I've tested all the patches on my machine and they all apply cleanly,
> and the fate-filter-pp tests succeed after each patch. I've also tried my
> best to split the patches into small changes. I have some more patches
> which add the ability to process multiple blocks in each function, which
> will allow the new simd versions to be substitute in without any additional
> work.
> 
> This just replaces some conditionally compiled inline asm with the
> conditionally defined macros from the last commit
> ---
>  libpostproc/postprocess_template.c | 63 +++++---------------------------------
>  1 file changed, 8 insertions(+), 55 deletions(-)

breaks build on non x86
./configure --arch=generic --enable-gpl
make -j12
...
CC      libpostproc/postprocess.o
In file included from libpostproc/postprocess.c:558:0:
libpostproc/postprocess_template.c: In function ‘postProcess_C’:
libpostproc/postprocess_template.c:3371:13: error: implicit declaration of function ‘prefetchnta’ [-Werror=implicit-function-declaration]
libpostproc/postprocess_template.c:3373:13: error: implicit declaration of function ‘prefetcht0’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct answer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150327/2bc772f2/attachment.asc>


More information about the ffmpeg-devel mailing list