components/desktop/firefox/patches/firefox-33-ycbcr2.patch
branchs11u3-sru
changeset 7035 4c2f26e9d5ab
child 7364 1ac24a377555
equal deleted inserted replaced
7034:55c87002c655 7035:4c2f26e9d5ab
       
     1 EMMS() is not in sparc. 
       
     2 
       
     3 diff --git a/gfx/ycbcr/yuv_convert.cpp b/gfx/ycbcr/yuv_convert.cpp
       
     4 --- a/gfx/ycbcr/yuv_convert.cpp
       
     5 +++ b/gfx/ycbcr/yuv_convert.cpp
       
     6 @@ -105,9 +105,11 @@
       
     7      }
       
     8    }
       
     9  
       
    10 +#ifdef ARCH_CPU_X86_FAMILY
       
    11    // MMX used for FastConvertYUVToRGB32Row requires emms instruction.
       
    12    if (has_sse)
       
    13      EMMS();
       
    14 +#endif
       
    15  }
       
    16  
       
    17  // C version does 8 at a time to mimic MMX code
       
    18 @@ -348,9 +350,12 @@
       
    19  #endif
       
    20      }
       
    21    }
       
    22 +
       
    23 +#ifdef ARCH_CPU_X86_FAMILY
       
    24    // MMX used for FastConvertYUVToRGB32Row and FilterRows requires emms.
       
    25    if (has_mmx)
       
    26      EMMS();
       
    27 +#endif
       
    28  }
       
    29  
       
    30  }  // namespace gfx