Commit c76e6bcd authored by michael's avatar michael

Disabling all SSE* code for old gcc to avoid alignment issues.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12163 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a37aec6c
...@@ -82,13 +82,17 @@ int mm_support(void) ...@@ -82,13 +82,17 @@ int mm_support(void)
if (std_caps & (1<<23)) if (std_caps & (1<<23))
rval |= FF_MM_MMX; rval |= FF_MM_MMX;
if (std_caps & (1<<25)) if (std_caps & (1<<25))
rval |= FF_MM_MMXEXT | FF_MM_SSE; rval |= FF_MM_MMXEXT
#if !defined(__GNUC__) || __GNUC__ > 2
| FF_MM_SSE;
if (std_caps & (1<<26)) if (std_caps & (1<<26))
rval |= FF_MM_SSE2; rval |= FF_MM_SSE2;
if (ecx & 1) if (ecx & 1)
rval |= FF_MM_SSE3; rval |= FF_MM_SSE3;
if (ecx & 0x00000200 ) if (ecx & 0x00000200 )
rval |= FF_MM_SSSE3; rval |= FF_MM_SSSE3
#endif
;
} }
cpuid(0x80000000, max_ext_level, ebx, ecx, edx); cpuid(0x80000000, max_ext_level, ebx, ecx, edx);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment