Thanks for the recommendation, however, the DSP does not use floats at all, it uses fixed point registers and we use integers only in the emulation code. The only thing we use XMM registers for is as spill space for general purpose registers if there is a lot of register pressure.Markus Krause wrote: ↑Fri Jan 14, 2022 9:20 am Sounds like a classic denormalisation problem here. It could be easily fixed with a couple of codelines. I suggest that you add this code to the project and check out if the CPU spikes disappear
The reason for "CPU spikes" (according to the DAW reported CPU usage) is that the DSP runs in a high priority background thread.
That is why the DAW reports CPU usage being relatively low as long as the DSP can keep up with the work, however, if the DSP can not and the processing thread reaches blocking state because it needs to wait for the DSP, DAW reports a CPU usage of 100%.
In the future, I'm going to make the DSP background thread optional, this will cost a bit of performance but will cause DAWs to report a more useful CPU usage.