mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 612429 - Fix Maemo/Android/ARM inclusion of SSE2 code - r=doublec a=roc
--HG-- extra : rebase_source : 2853b40f4888d4af415bde3e7aa801da10eaea3c
This commit is contained in:
parent
06454d8fe6
commit
4cecd77666
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user