Re: [FFmpeg-devel] [PATCH 09/11] avutil/half2float: use native _Float16 if available

2022-08-10 Thread James Almer
On 8/10/2022 6:58 PM, Timo Rothenpieler wrote: On 10.08.2022 23:03, Andreas Rheinhardt wrote: Timo Rothenpieler: _Float16 support was available on arm/aarch64 for a while, and with gcc 12 was enabled on x86 as long as SSE2 is supported. If the target arch supports f16c, gcc emits fairly eff

Re: [FFmpeg-devel] [PATCH 09/11] avutil/half2float: use native _Float16 if available

2022-08-10 Thread Timo Rothenpieler
On 10.08.2022 23:03, Andreas Rheinhardt wrote: Timo Rothenpieler: _Float16 support was available on arm/aarch64 for a while, and with gcc 12 was enabled on x86 as long as SSE2 is supported. If the target arch supports f16c, gcc emits fairly efficient assembly, taking advantage of it. This is th

Re: [FFmpeg-devel] [PATCH 09/11] avutil/half2float: use native _Float16 if available

2022-08-10 Thread Andreas Rheinhardt
Timo Rothenpieler: > _Float16 support was available on arm/aarch64 for a while, and with gcc > 12 was enabled on x86 as long as SSE2 is supported. > > If the target arch supports f16c, gcc emits fairly efficient assembly, > taking advantage of it. This is the case on x86-64-v3 or higher. > Without

[FFmpeg-devel] [PATCH 09/11] avutil/half2float: use native _Float16 if available

2022-08-10 Thread Timo Rothenpieler
_Float16 support was available on arm/aarch64 for a while, and with gcc 12 was enabled on x86 as long as SSE2 is supported. If the target arch supports f16c, gcc emits fairly efficient assembly, taking advantage of it. This is the case on x86-64-v3 or higher. Without f16c, it emulates it in softwa