Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-26 Thread Rémi Denis-Courmont
Le 26 mai 2025 00:37:08 GMT+03:00, Michael Niedermayer a écrit : >Hi Rémi > >On Sat, May 24, 2025 at 07:10:57PM +0300, Rémi Denis-Courmont wrote: >> Le torstaina 22. toukokuuta 2025, 9.32.18 Itä-Euroopan kesäaika Jiawei a >> écrit >> : >> > > The RISC-V autovectorised output looks like it has

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-25 Thread Michael Niedermayer
Hi Rémi On Sat, May 24, 2025 at 07:10:57PM +0300, Rémi Denis-Courmont wrote: > Le torstaina 22. toukokuuta 2025, 9.32.18 Itä-Euroopan kesäaika Jiawei a > écrit > : > > > The RISC-V autovectorised output looks like it has a warning "Odd > > > rotation angle" which is not present in the non-autove

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-24 Thread Rémi Denis-Courmont
Le torstaina 22. toukokuuta 2025, 9.32.18 Itä-Euroopan kesäaika Jiawei a écrit : > > The RISC-V autovectorised output looks like it has a warning "Odd > > rotation angle" which is not present in the non-autovectorised output. > > I found this occured when using '-ffast-math' in RISC-V, also occur

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-24 Thread Rémi Denis-Courmont
Hi, Le 21 mai 2025 09:17:50 GMT+03:00, Jiawei a écrit : >This patch modifies the FFmpeg build system to remove the explicit disabling >of GCC's auto-vectorization feature. > >Modern GCC versions (>= 10.0) have demonstrated stable auto-vectorization >capabilities through extensive optimizations in

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-23 Thread Jiawei
Here is a particularly bad example of autovectorisation across many compilers: https://gcc.godbolt.org/z/rjEqzf1hh Kieran Admittedly, in some cases, enabling vectorization is not the optimal solution. But the question is the limitation is only added on gcc side.For LLVM clang, there are no

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-23 Thread Kieran Kunhya via ffmpeg-devel
On Thu, 22 May 2025, 07:32 Jiawei, wrote: > 在 2025/5/22 2:21, Frank Plowman 写道: > > On 21/05/2025 11:17, Jiawei wrote: > >> 在 2025/5/21 14:52, Nicolas George 写道: > >>> Jiawei (HE12025-05-21): > particularly improving > performance on x86_64 (AVX), AR

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-21 Thread Jiawei
在 2025/5/22 2:21, Frank Plowman 写道: On 21/05/2025 11:17, Jiawei wrote: 在 2025/5/21 14:52, Nicolas George 写道: Jiawei (HE12025-05-21): particularly improving performance on x86_64 (AVX), ARM64 (SVE) and RISC-V(RVV) architectures. Benchmark needed. Rega

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-21 Thread Frank Plowman
On 21/05/2025 11:17, Jiawei wrote: > > 在 2025/5/21 14:52, Nicolas George 写道: >> Jiawei (HE12025-05-21): >>> particularly improving >>> performance on x86_64 (AVX), ARM64 (SVE) and RISC-V(RVV) architectures. >> Benchmark needed. >> >> Regards, > > > Hi Nicola

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-21 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of Martin > Storsjö > Sent: Mittwoch, 21. Mai 2025 14:22 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation. > > On Wed, 21 May 2025,

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-21 Thread Martin Storsjö
On Wed, 21 May 2025, Andreas Rheinhardt wrote: Martin Storsjö: On Wed, 21 May 2025, Andreas Rheinhardt wrote: Jiawei: This patch modifies the FFmpeg build system to remove the explicit disabling of GCC's auto-vectorization feature. Modern GCC versions (>= 10.0) have demonstrated stable auto

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-21 Thread Andreas Rheinhardt
Martin Storsjö: > On Wed, 21 May 2025, Andreas Rheinhardt wrote: > >> Jiawei: >>> This patch modifies the FFmpeg build system to remove the explicit >>> disabling >>> of GCC's auto-vectorization feature. >>> >>> Modern GCC versions (>= 10.0) have demonstrated stable auto- >>> vectorization >>> cap

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-21 Thread Martin Storsjö
On Wed, 21 May 2025, Andreas Rheinhardt wrote: Jiawei: This patch modifies the FFmpeg build system to remove the explicit disabling of GCC's auto-vectorization feature. Modern GCC versions (>= 10.0) have demonstrated stable auto-vectorization capabilities through extensive optimizations in loo

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-21 Thread Michael Niedermayer
On Wed, May 21, 2025 at 06:32:49PM +0800, Jiawei wrote: > > 在 2025/5/21 15:46, Michael Niedermayer 写道: > > On Wed, May 21, 2025 at 02:17:50PM +0800, Jiawei wrote: > > > This patch modifies the FFmpeg build system to remove the explicit > > > disabling > > > of GCC's auto-vectorization feature. >

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-21 Thread Andreas Rheinhardt
Jiawei: > This patch modifies the FFmpeg build system to remove the explicit disabling > of GCC's auto-vectorization feature. > > Modern GCC versions (>= 10.0) have demonstrated stable auto-vectorization > capabilities through extensive optimizations in loop analysis and SIMD > code generation. Th

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-21 Thread Jiawei
在 2025/5/21 15:46, Michael Niedermayer 写道: On Wed, May 21, 2025 at 02:17:50PM +0800, Jiawei wrote: This patch modifies the FFmpeg build system to remove the explicit disabling of GCC's auto-vectorization feature. Modern GCC versions (>= 10.0) have demonstrated stable auto-vectorization capabil

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-21 Thread Jiawei
在 2025/5/21 17:04, Zhao Zhili 写道: On May 21, 2025, at 14:17, Jiawei wrote: This patch modifies the FFmpeg build system to remove the explicit disabling of GCC's auto-vectorization feature. Modern GCC versions (>= 10.0) have demonstrated stable auto-vectorization capabilities through extensi

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-21 Thread Jiawei
在 2025/5/21 14:52, Nicolas George 写道: Jiawei (HE12025-05-21): particularly improving performance on x86_64 (AVX), ARM64 (SVE) and RISC-V(RVV) architectures. Benchmark needed. Regards, Hi Nicolas, Since I am a gcc developer, I'm not so familiar wi

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-21 Thread Jiawei
> -原始邮件- > 发件人: "Nicolas George" > 发送时间: 2025-05-21 14:52:12 (星期三) > 收件人: "FFmpeg development discussions and patches" > 抄送: > 主题: Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation. > > Jiawei (HE12025-05-21): > >  

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-21 Thread Jiawei
> -原始邮件- > 发件人: "Nicolas George" > 发送时间: 2025-05-21 14:52:12 (星期三) > 收件人: "FFmpeg development discussions and patches" > 抄送: > 主题: Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation. > > Jiawei (HE12025-05-21): > >  

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-21 Thread Zhao Zhili
> On May 21, 2025, at 14:17, Jiawei wrote: > > This patch modifies the FFmpeg build system to remove the explicit disabling > of GCC's auto-vectorization feature. > > Modern GCC versions (>= 10.0) have demonstrated stable auto-vectorization > capabilities through extensive optimizations in loo

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-21 Thread Michael Niedermayer
On Wed, May 21, 2025 at 02:17:50PM +0800, Jiawei wrote: > This patch modifies the FFmpeg build system to remove the explicit disabling > of GCC's auto-vectorization feature. > > Modern GCC versions (>= 10.0) have demonstrated stable auto-vectorization > capabilities through extensive optimizations

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-20 Thread Nicolas George
Jiawei (HE12025-05-21): > particularly improving > performance on x86_64 (AVX), ARM64 (SVE) and RISC-V(RVV) architectures. Benchmark needed. Regards, -- Nicolas George ___ ffmpeg-devel mailing list ffmpeg-deve

[FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-20 Thread Jiawei
This patch modifies the FFmpeg build system to remove the explicit disabling of GCC's auto-vectorization feature. Modern GCC versions (>= 10.0) have demonstrated stable auto-vectorization capabilities through extensive optimizations in loop analysis and SIMD code generation. The explicit -fno-tree