Bug 564901: Debug builds on ARM fail saying that emms is not a supported instruction. r=roc
authorDave Townsend <dtownsend@oxymoronical.com>
Wed, 12 May 2010 09:52:02 -0700
changeset 42211 eb83008784f18904e6e7b32f30b5bc487cfbd3eb
parent 42210 4343f50d2ed19bb45f6d9e849e0c513ad08b5f83
child 42212 d9900a280f59015e6e02ba196eba2bd2146fb12c
push id13229
push userdtownsend@mozilla.com
push dateWed, 12 May 2010 16:52:29 +0000
treeherdermozilla-central@eb83008784f1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs564901
milestone1.9.3a5pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
Bug 564901: Debug builds on ARM fail saying that emms is not a supported instruction. r=roc
gfx/ycbcr/yuv_row.h
--- a/gfx/ycbcr/yuv_row.h
+++ b/gfx/ycbcr/yuv_row.h
@@ -27,17 +27,17 @@ void FastConvertYUVToRGB32Row_C(const ui
                                 uint8* rgb_buf,
                                 int width,
                                 unsigned int x_shift);
 
 
 }  // extern "C"
 
 // x64 uses MMX2 (SSE) so emms is not required.
-#if !defined(ARCH_CPU_X86_64) && !defined(ARCH_CPU_PPC)
+#if defined(ARCH_CPU_X86)
 #if defined(_MSC_VER)
 #define EMMS() __asm emms
 #else
 #define EMMS() asm("emms")
 #endif
 #else
 #define EMMS()
 #endif