Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: "Rémi Denis-Courmont" <remi@remlab.net>
To: ffmpeg-devel@ffmpeg.org
Subject: [FFmpeg-devel] [PATCHv2 0/6] RISC-V CPU extensions
Date: Sat, 17 Sep 2022 15:45:13 +0300
Message-ID: <5602047.DvuYhMxLoT@basile.remlab.net> (raw)

	Hi,

This adds configure, compile-time, run-time detection for RISC-V scalar
and vector extensions. Also a couple of scalar optimisations.

----------------------------------------------------------------
Rémi Denis-Courmont (6):
      lavu/cpu: detect RISC-V base extensions
      lavu/cpu: CPU flags for the RISC-V Vector extension
      configure: probe RISC-V Vector extension
      lavu/riscv: initial common header for assembler macros
      lavc/audiodsp: add RISC-V F float vector clip
      lavc/pixblockdsp: RISC-V scalar optimisations

 Makefile                            |   2 +-
 configure                           |  15 +++++
 ffbuild/arch.mak                    |   2 +
 libavcodec/audiodsp.c               |   2 +
 libavcodec/audiodsp.h               |   1 +
 libavcodec/pixblockdsp.c            |   2 +
 libavcodec/pixblockdsp.h            |   2 +
 libavcodec/riscv/Makefile           |   4 ++
 libavcodec/riscv/audiodsp_init.c    |  31 +++++++++++
 libavcodec/riscv/audiodsp_rvf.S     |  46 +++++++++++++++
 libavcodec/riscv/pixblockdsp_init.c |  43 ++++++++++++++
 libavcodec/riscv/pixblockdsp_rvi.S  |  57 +++++++++++++++++++
 libavutil/cpu.c                     |  13 +++++
 libavutil/cpu.h                     |   9 +++
 libavutil/cpu_internal.h            |   3 +
 libavutil/riscv/Makefile            |   1 +
 libavutil/riscv/asm.S               |  74 ++++++++++++++++++++++++
 libavutil/riscv/cpu.c               | 108 ++++++++++++++++++++++++++++++++++++
 tests/checkasm/checkasm.c           |   8 +++
 19 files changed, 422 insertions(+), 1 deletion(-)
 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 libavcodec/riscv/pixblockdsp_init.c
 create mode 100644 libavcodec/riscv/pixblockdsp_rvi.S
 create mode 100644 libavutil/riscv/Makefile
 create mode 100644 libavutil/riscv/asm.S
 create mode 100644 libavutil/riscv/cpu.c

-- 
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".

             reply	other threads:[~2022-09-17 12:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-17 12:45 Rémi Denis-Courmont [this message]
2022-09-17 12:45 ` [FFmpeg-devel] [PATCH 1/6] lavu/cpu: detect RISC-V base extensions remi
2022-09-17 12:45 ` [FFmpeg-devel] [PATCH 2/6] lavu/cpu: CPU flags for the RISC-V Vector extension remi
2022-09-17 12:45 ` [FFmpeg-devel] [PATCH 3/6] configure: probe " remi
2022-09-17 12:45 ` [FFmpeg-devel] [PATCH 4/6] lavu/riscv: initial common header for assembler macros remi
2022-09-17 12:45 ` [FFmpeg-devel] [PATCH 5/6] lavc/audiodsp: add RISC-V F float vector clip remi
2022-09-17 12:45 ` [FFmpeg-devel] [PATCH 6/6] lavc/pixblockdsp: RISC-V scalar optimisations remi

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=5602047.DvuYhMxLoT@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