From: "Rémi Denis-Courmont" <remi@remlab.net>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH 1/4] lavc/vp8dsp: R-V V 256 bilin,epel
Date: Mon, 29 Jul 2024 17:45:41 +0300
Message-ID: <4908771.GXAFRqVoOG@basile.remlab.net> (raw)
In-Reply-To: <tencent_F6AA0416364356C58D7374583F61063C7708@qq.com>
Hi,
Le lauantaina 22. kesäkuuta 2024, 18.58.03 EEST uk7b@foxmail.com a écrit :
> From: sunyuechi <sunyuechi@iscas.ac.cn>
In my opinion, we can't keep on like this. By the end of year, there will also
be 512-bit vector hardware. In the worst case, specialisation on vector length
could require 7 variants of every function, as many as legal LMUL values.
Generating the LMUL at run time or initialisation time is too slow for fixed-
size functions, so I can only see two viable options here:
1) We ignore this problem entirely and only optimise to 128-bit or to the
current minimum VLEN. The intent of the specification is ostensibly that
processing should scale according to the current value of VL, not VTYPE.LMUL.
That is why the minimum legal LMUL value is SEW/ELEN rather than 1/VLMAX (and
draft versions did not even have fractional multipliers).
2) The specialisation code is heavily factored, including in the C
initialisation side.
Personally, I prefer to ignore the problem until we see more mature and varied
hardware. I do note that SiFive is ostensibly not specialising their code by
VLEN, which tends to confirm that this is just a case of immature design from
T-Head.
--
Rémi Denis-Courmont
http://www.remlab.net/
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
next prev parent reply other threads:[~2024-07-29 14:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-22 15:58 uk7b
2024-07-29 14:45 ` Rémi Denis-Courmont [this message]
2024-07-30 17:57 ` flow gg
2024-07-31 14:11 ` Rémi Denis-Courmont
2024-07-31 16:52 ` flow gg
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=4908771.GXAFRqVoOG@basile.remlab.net \
--to=remi@remlab.net \
--cc=ffmpeg-devel@ffmpeg.org \
/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