Bug 612429 - Fix Maemo/Android/ARM inclusion of SSE2 code - r=doublec a=roc

--HG--
extra : rebase_source : 2853b40f4888d4af415bde3e7aa801da10eaea3c
This commit is contained in:
Chris Double 2010-11-18 15:11:11 +13:00
parent 06454d8fe6
commit 4cecd77666
2 changed files with 2 additions and 2 deletions

View File

@ -550,7 +550,7 @@ index 0a2990b..4ce9eb8 100644
// Warning C4799: function has no EMMS instruction.
// EMMS() is slow and should be called by the calling function once per image.
-#if USE_MMX && !defined(ARCH_CPU_X86_64)
+#if !defined(ARCH_CPU_X86_64)
+#if defined(ARCH_CPU_X86) && !defined(ARCH_CPU_X86_64)
#if defined(_MSC_VER)
#define EMMS() __asm emms
#pragma warning(disable: 4799)

View File

@ -123,7 +123,7 @@ extern SIMD_ALIGNED(int16 kCoefficientsRgbY[768][4]);
// x64 uses MMX2 (SSE) so emms is not required.
// Warning C4799: function has no EMMS instruction.
// EMMS() is slow and should be called by the calling function once per image.
#if !defined(ARCH_CPU_X86_64)
#if defined(ARCH_CPU_X86) && !defined(ARCH_CPU_X86_64)
#if defined(_MSC_VER)
#define EMMS() __asm emms
#pragma warning(disable: 4799)