mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
spa/support: implement RISCV V CPU detection
This commit is contained in:
parent
e2991f6398
commit
8166b9c580
5 changed files with 60 additions and 1 deletions
|
|
@ -64,6 +64,10 @@ static char *spa_cpu_read_file(const char *name, char *buffer, size_t len)
|
|||
#include "cpu-arm.c"
|
||||
#define init(t) arm_init(t)
|
||||
#define impl_cpu_zero_denormals arm_zero_denormals
|
||||
# elif defined (__riscv)
|
||||
#include "cpu-riscv.c"
|
||||
#define init(t) riscv_init(t)
|
||||
#define impl_cpu_zero_denormals riscv_zero_denormals
|
||||
# else
|
||||
#define init(t)
|
||||
#define impl_cpu_zero_denormals NULL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue