[FFmpeg-devel] [PATCH] h274: remove optimization pragma

Lynne dev at lynne.ee
Wed Aug 25 22:24:49 EEST 2021


This results in warnings on compilers which don't support it, 
objections were raised during the review process about it but went unnoticed,
and the speed benefit is highly compiler and version specific, and
also not very critical.

We generally hand-write assembly to optimize loops like that, rather
than use compiler magic, and for 40% best case scenario, it's simply
not worth it.

Plus, tree vectorization is still problematic with GCC and disabled by default
for a good reason, so enabling it locally is sketchy.

Patch attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-h274-remove-optimization-pragma.patch
Type: text/x-patch
Size: 1265 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210825/768eeff9/attachment.bin>


More information about the ffmpeg-devel mailing list