mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
riscv: set fast half-precision conversion
This is only supported at compilation time. If Zfhmin is supported, then conversions are fast, which is what the flag is used for. At this time, run-tiem detection is not possible, as in not supported by Linux. But even if it were, the current FFmpeg approach seems unable to deal with it (same problem as on x86, really).
This commit is contained in:
parent
a9205620b1
commit
954d50e2ae
3
configure
vendored
3
configure
vendored
@ -5413,6 +5413,9 @@ elif enabled riscv; then
|
|||||||
if test_cpp_condition stddef.h "__riscv_zbb"; then
|
if test_cpp_condition stddef.h "__riscv_zbb"; then
|
||||||
enable fast_clz
|
enable fast_clz
|
||||||
fi
|
fi
|
||||||
|
if test_cpp_condition stddef.h "__riscv_zfhmin"; then
|
||||||
|
enable fast_float16
|
||||||
|
fi
|
||||||
|
|
||||||
elif enabled sparc; then
|
elif enabled sparc; then
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user