equal
deleted
inserted
replaced
|
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 |