Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [RFC] [PATCH 0/3] RISC-V CPU detection
@ 2022-09-14 17:50 Rémi Denis-Courmont
  2022-09-14 17:50 ` [FFmpeg-devel] [PATCH 1/3] lavu: detect RISC-V F extension (i.e. float) remi
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Rémi Denis-Courmont @ 2022-09-14 17:50 UTC (permalink / raw)
  To: ffmpeg-devel

Hi,

This small series introduces the same CPU detection and assembler macros
as the earlier V extension stuff but sticking to a scalar use case.

Benchmark results are included in the last patch.

----------------------------------------------------------------
Rémi Denis-Courmont (3):
      lavu: detect RISC-V F extension (i.e. float)
      lavu/riscv: initial common header for assembler macros
      lavc/audiodsp: add RISC-V F float vector clip

 libavcodec/audiodsp.c            |  2 ++
 libavcodec/audiodsp.h            |  1 +
 libavcodec/riscv/Makefile        |  2 ++
 libavcodec/riscv/audiodsp_init.c | 31 +++++++++++++++++
 libavcodec/riscv/audiodsp_rvf.S  | 46 +++++++++++++++++++++++++
 libavutil/cpu.c                  |  4 +++
 libavutil/cpu.h                  |  3 ++
 libavutil/cpu_internal.h         |  1 +
 libavutil/riscv/Makefile         |  1 +
 libavutil/riscv/asm.S            | 74 ++++++++++++++++++++++++++++++++++++++++
 libavutil/riscv/cpu.c            | 44 ++++++++++++++++++++++++
 tests/checkasm/checkasm.c        |  2 ++
 12 files changed, 211 insertions(+)
 create mode 100644 libavcodec/riscv/Makefile
 create mode 100644 libavcodec/riscv/audiodsp_init.c
 create mode 100644 libavcodec/riscv/audiodsp_rvf.S
 create mode 100644 libavutil/riscv/Makefile
 create mode 100644 libavutil/riscv/asm.S
 create mode 100644 libavutil/riscv/cpu.c

-- 
Реми Дёни-Курмон
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".

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-09-14 19:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-14 17:50 [FFmpeg-devel] [RFC] [PATCH 0/3] RISC-V CPU detection Rémi Denis-Courmont
2022-09-14 17:50 ` [FFmpeg-devel] [PATCH 1/3] lavu: detect RISC-V F extension (i.e. float) remi
2022-09-14 19:28   ` Lynne
2022-09-14 19:43     ` Rémi Denis-Courmont
2022-09-14 17:50 ` [FFmpeg-devel] [PATCH 2/3] lavu/riscv: initial common header for assembler macros remi
2022-09-14 17:50 ` [FFmpeg-devel] [PATCH 3/3] lavc/audiodsp: add RISC-V F float vector clip remi
2022-09-14 17:56   ` Rémi Denis-Courmont

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