1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00
FFmpeg/libavutil
Rémi Denis-Courmont 7dcb5e1ab0 riscv/bswap: use compiler builtins
av_bswapXX() are used in context that expect exact size types, notably
variable arguments to av_log(). On Linux RV64, uint_fast32_t is an
unsigned long, so the current inline assembler does not work properly.

Since GCC and Clang gained their byte-swap built-ins before they
supported RISC-V, we can simply defer to them. As an added bonus, the
compiler can do instruction scheduling, which it couldn't with the Zbb
inline assembler.
2023-05-02 22:08:21 +02:00
..
2023-03-26 01:46:39 +01:00
2023-05-02 22:08:21 +02:00
2023-02-09 15:35:14 +01:00
2023-02-09 15:35:14 +01:00
2022-09-13 16:50:43 -03:00
2022-02-24 12:56:49 +01:00
2022-11-06 08:26:50 +01:00
2022-02-24 12:56:49 +01:00
2022-10-17 09:56:47 +02:00
2022-02-24 12:56:49 +01:00
2023-02-09 15:35:14 +01:00
2023-02-09 15:35:14 +01:00
2022-03-15 09:42:29 -03:00
2022-09-13 16:50:43 -03:00
2022-10-17 09:51:47 +02:00
2022-11-25 15:54:33 +01:00
2022-11-24 15:58:35 +01:00