[FFmpeg-devel] avutil/x86util : add macro for 128 bits constant load

James Darnley james.darnley at gmail.com
Tue Nov 28 00:33:48 EET 2017


On 2017-11-27 20:19, Martin Vignali wrote:
> +%macro VBROADCASTI128 2 ; dst xmm/ymm, src : 128bits val
> +%if mmsize == 32
> +    vbroadcasti128 %1, %2
> +%else
> +    mova           %1, %2
> +%endif
> +%endmacro

If the condition was made "mmsize > 16" would this work correctly for
zmm registers?  (Assume I finally push my AVX-512 patches).



More information about the ffmpeg-devel mailing list