mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-12 11:07:13 -04:00
Mixer: fixed wrong macro logic leading to potential performance loss
The macro logic for defining the SPINLOCK_PAUSE macro tested against LMMS_HOST_X86_64 twice instead of testing against LMMS_HOST_X86_64 and LMMS_HOST_X86. This caused the SPINLOCK_PAUSE macro not being set on x86.
This commit is contained in:
@@ -252,7 +252,7 @@ void MixerWorkerThread::processJobQueue( void )
|
||||
|
||||
// define a pause instruction for spinlock-loop - merely useful on
|
||||
// HyperThreading systems with just one physical core (e.g. Intel Atom)
|
||||
#ifdef LMMS_HOST_X86_64
|
||||
#ifdef LMMS_HOST_X86
|
||||
#define SPINLOCK_PAUSE() asm( "pause" )
|
||||
#else
|
||||
#ifdef LMMS_HOST_X86_64
|
||||
|
||||
Reference in New Issue
Block a user