[FFmpeg-devel] avutil/x86util : add macro for 128 bits constant load
James Almer
jamrial at gmail.com
Tue Nov 28 00:37:31 EET 2017
On 11/27/2017 7:33 PM, James Darnley wrote:
> 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).
No, there's no EVEX variant of vbroadcasti128. For that you would need
to use vbroadcasti32x4 or vbroadcasti64x2.
More information about the ffmpeg-devel
mailing list