[FFmpeg-devel] [PATCH 2/3] x86/ac3dsp: add ff_float_to_fixed24_avx2()
James Almer
jamrial at gmail.com
Thu Nov 23 13:51:32 EET 2023
On 11/23/2023 3:56 AM, Kieran Kunhya wrote:
> On Wed, 22 Nov 2023, 19:49 James Almer, <jamrial at gmail.com> wrote:
>
>> Signed-off-by: James Almer <jamrial at gmail.com>
>> ---
>> libavcodec/ac3dsp.h | 4 ++--
>> libavcodec/ac3enc_template.c | 2 +-
>> libavcodec/x86/ac3dsp.asm | 28 ++++++++++++++++++++++++++--
>> libavcodec/x86/ac3dsp_init.c | 4 ++++
>> 4 files changed, 33 insertions(+), 5 deletions(-)
>>
>
> I think this is AVX, I might be wrong but I don't see any AVX2.
>
> Kieran
movdqa wiht ymm is avx2. I could change it to movaps, but technically
the registers contain floats and i don't know if any old AVX cpu has
penalties for changing domains.
More information about the ffmpeg-devel
mailing list