Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: "Martin Storsjö via ffmpeg-devel" <ffmpeg-devel@ffmpeg.org>
To: Jiawei <jiawei@iscas.ac.cn>
Cc: ffmpeg-devel@ffmpeg.org, "Martin Storsjö" <martin@martin.st>
Subject: [FFmpeg-devel] Re: [PATCH] gcc:Allow RISC-V port with '-ftree-vectorize'.
Date: Tue, 26 Aug 2025 14:46:20 +0300 (EEST)
Message-ID: <7f8222da-dcb1-6624-db1b-73c02daea1b0@martin.st> (raw)
In-Reply-To: <20250826102400.1915408-1-jiawei@iscas.ac.cn>

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

           reply	other threads:[~2025-08-26 11:47 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20250826102400.1915408-1-jiawei@iscas.ac.cn>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7f8222da-dcb1-6624-db1b-73c02daea1b0@martin.st \
    --to=ffmpeg-devel@ffmpeg.org \
    --cc=jiawei@iscas.ac.cn \
    --cc=martin@martin.st \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git