Barnabás Pőcze
934ab3036e
treewide: use SPDX tags to specify copyright information
...
SPDX tags make the licensing information easy to understand and clear,
and they are machine parseable.
See https://spdx.dev for more information.
2023-02-16 10:54:48 +00:00
Demi Marie Obenour
e8f3450a58
Fix various compiler warnings
...
These caused build failures with -Werror.
2022-10-06 12:12:35 -04:00
Wim Taymans
84ecebbd4e
cpu: only run SSE code when supported
...
Check if we can run SSE instructions before executing the denormals
SSE code.
Fixes #1775
2021-11-02 20:12:35 +01:00
Wim Taymans
14fd5425af
cpu: use intrinsics to modify status register
...
For better portability. Also only use the code when we can compile with
SSE is available.
2021-10-13 15:00:09 +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
7104df1b21
cpu: detect MMXEXT as well
2018-12-17 13:37:27 +01:00
Wim Taymans
9ca9fda253
cpu: add cpu support implementation
2018-12-17 13:25:27 +01:00