1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
FFmpeg/libavcodec/riscv
Rémi Denis-Courmont 105921251a lavc/aacpsdsp: fix clobber on RISC-V LP64D/ILP32D
Although the DSP function only uses single precision from RISC-V F, the
caller may leave double precision values in the spilled registers if the
calling convention supports double precision hardware floats. Then, we
need to save and restore FS registers as double precision.

Conversely, we do not need to save anything at all if an integer calling
convention is in use. However we can assume that single precision floats
are supported, since the Zve32f extension implies the F extension.
So for the sake of simplicity, we always save at least single precision
values.

In theory, we should even save quadruple precision values if the LP64Q
ABI is in use. I have yet to see a compiler that supports it though.
2022-10-10 02:23:18 +02:00
..
aacpsdsp_init.c lavc/aacpsdsp: RISC-V V stereo_interpolate[0] 2022-09-27 13:19:52 +02:00
aacpsdsp_rvv.S lavc/aacpsdsp: fix clobber on RISC-V LP64D/ILP32D 2022-10-10 02:23:18 +02:00
alacdsp_init.c lavc/alacdsp: RISC-V V append_extra_bits[1] 2022-10-05 06:51:11 +02:00
alacdsp_rvv.S riscv/alacdsp: drop config.h include 2022-10-05 06:59:43 +02:00
audiodsp_init.c lavc/audiodsp: RISC-V V scalarproduct_int16 2022-09-27 13:19:52 +02:00
audiodsp_rvf.S
audiodsp_rvv.S lavc/audiodsp: RISC-V V scalarproduct_int16 2022-09-27 13:19:52 +02:00
bswapdsp_init.c lavc/bswapdsp: RISC-V V bswap16_buf 2022-10-05 08:26:19 +02:00
bswapdsp_rvb.S lavc/bswapdsp: RISC-V B bswap_buf 2022-10-05 08:26:19 +02:00
bswapdsp_rvv.S lavc/bswapdsp: RISC-V V bswap16_buf 2022-10-05 08:26:19 +02:00
fmtconvert_init.c riscv: Fix linking without RVV; change #ifdef into #if 2022-09-29 10:28:37 +03:00
fmtconvert_rvv.S riscv: remove unnecessary #include's 2022-10-05 06:54:56 +02:00
idctdsp_init.c lavc/idctdsp: RISC-V V put_signed_pixels_clamped function 2022-09-28 11:46:11 +02:00
idctdsp_rvv.S riscv: remove unnecessary #include's 2022-10-05 06:54:56 +02:00
Makefile lavc/opusdsp: RISC-V V (128-bit) postfilter 2022-10-10 02:22:10 +02:00
opusdsp_init.c lavc/opusdsp: RISC-V V (512-bit) postfilter 2022-10-10 02:23:17 +02:00
opusdsp_rvv.S lavc/opusdsp: RISC-V V (512-bit) postfilter 2022-10-10 02:23:17 +02:00
pixblockdsp_init.c lavc/pixblockdsp: RISC-V diff_pixels & diff_pixels_unaligned 2022-09-28 11:46:11 +02:00
pixblockdsp_rvi.S riscv: remove unnecessary #include's 2022-10-05 06:54:56 +02:00
pixblockdsp_rvv.S riscv: remove unnecessary #include's 2022-10-05 06:54:56 +02:00
vorbisdsp_init.c lavc/vorbisdsp: RISC-V V inverse_coupling 2022-09-27 13:19:52 +02:00
vorbisdsp_rvv.S riscv: remove unnecessary #include's 2022-10-05 06:54:56 +02:00