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:
Tobias Doerffel
2008-11-23 21:16:36 +00:00
parent d57c019ac8
commit 7aa289dde3

View File

@@ -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 )