mirror of https://code.videolan.org/videolan/vlc
cpu: compile-time RISC-V FPU detection
(cherry picked from commit 96ae63596e
)
This commit is contained in:
parent
9e07e155a9
commit
272dbce8e3
|
@ -181,6 +181,11 @@ VLC_API unsigned vlc_CPU(void);
|
|||
# elif defined (__mips_hard_float)
|
||||
# define HAVE_FPU 1
|
||||
|
||||
# elif defined (__riscv)
|
||||
# ifdef __riscv_flen
|
||||
# define HAVE_FPU 1
|
||||
# endif
|
||||
|
||||
# else
|
||||
/**
|
||||
* Are single precision floating point operations "fast"?
|
||||
|
|
Loading…
Reference in New Issue