* [FFmpeg-devel] Re: [PATCH] gcc:Allow RISC-V port with '-ftree-vectorize'.
[not found] <20250826102400.1915408-1-jiawei@iscas.ac.cn>
@ 2025-08-26 11:46 ` Martin Storsjö via ffmpeg-devel
0 siblings, 0 replies; only message in thread
From: Martin Storsjö via ffmpeg-devel @ 2025-08-26 11:46 UTC (permalink / raw)
To: Jiawei; +Cc: ffmpeg-devel, Martin Storsjö
Hi,
On Tue, 26 Aug 2025, Jiawei wrote:
> This patch modifies the GCC configure script to enable the '-ftree-vectorize'
> optimization flag by default for the RISC-V architecture, aligning it with
> other well-tested architectures like x86, ARM, and AArch64.
>
> ---
> configure | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Ok with me, assuming that you've tested with GCC 13, 14, 15, with
configurations where GCC actually does do vectorization (presumably with
RVA in the -march baseline). (If there are bugs in e.g. GCC 13 which is
fixed in 14 or 15, we can of course also adjust the version criteria per
architecture.)
// Martin
_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org
^ permalink raw reply [flat|nested] only message in thread