Wim Taymans
da26563a83
cpu: clean up
...
Change read_file to spa_cpu_read_file and remove static because it might
not be used for some cpus.
Use spa_cpu_read_file in arm cpu detection.
2023-01-12 12:20:30 +01:00
Wim Taymans
2cddd4a775
cpu: disable VFP asm when not available
...
Fixes #1746
2021-10-25 16:32:16 +02:00
Wim Taymans
85d5c8cd6c
cpu: add zero_denormals method
...
Add a method to enable/disable the denormals flush-to-zero and
denormals-as-zero CPU options.
Add a config option to make it possible to disable this again.
Fixes high CPU usage when dealing with denormals, which can happen
in many DSP functions.
Fixes #1681
2021-10-11 14:57:02 +02:00
Wim Taymans
f8817b4394
cpu: fix compilation on ARM
2021-09-30 11:12:27 +02:00
Peter Hutterer
95a84e797a
treewide: replace !strcmp() with spa_streq()
...
This change is only done in source files for now, header files will be done
separately.
2021-05-18 22:10:27 +10:00
Wim Taymans
497a8364c5
printf format fixes
2019-06-07 17:16:02 +02:00
George Kiagiadakis
4be52f16bd
spa/support: implement ARM CPU detection
...
Code is based on PulseAudio's implementation, originally written by Wim
2019-02-13 11:22:57 +01:00