mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-10 10:10:02 -04:00
fixed compilation on x86_64 (2)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1849 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -350,6 +350,11 @@ void initBasicOps( void )
|
||||
if( extensions_checked == false )
|
||||
{
|
||||
int features = 0;
|
||||
#if defined(__x86_64__) || defined(Q_OS_WIN64)
|
||||
features = MMX | SSE | SSE2 | CMOV;
|
||||
#elif defined(__ia64__)
|
||||
features = MMX | SSE | SSE2;
|
||||
#else
|
||||
unsigned int result = 0;
|
||||
unsigned int extended_result = 0;
|
||||
asm( "push %%ebx\n"
|
||||
@@ -418,6 +423,7 @@ void initBasicOps( void )
|
||||
features |= SSE;
|
||||
if( result & (1u << 26) )
|
||||
features |= SSE2;
|
||||
#endif
|
||||
|
||||
#ifdef LMMS_HOST_X86
|
||||
if( features & MMX )
|
||||
|
||||
Reference in New Issue
Block a user