Chromium Code Reviews| Index: media/base/simd/convert_yuv_to_rgb_x86.cc |
| diff --git a/media/base/simd/convert_yuv_to_rgb_x86.cc b/media/base/simd/convert_yuv_to_rgb_x86.cc |
| index 3825bdb7a0e16f938636cc7e1f5bdd1b2f4ca8ed..d7e0c0bbaa46abd5ab5d0fe5ccf4ebe62196b40d 100644 |
| --- a/media/base/simd/convert_yuv_to_rgb_x86.cc |
| +++ b/media/base/simd/convert_yuv_to_rgb_x86.cc |
| @@ -9,6 +9,7 @@ |
| #endif |
| #include "media/base/simd/convert_yuv_to_rgb.h" |
| +#include "media/base/simd/empty_register_state.h" |
| #include "media/base/yuv_convert.h" |
| namespace media { |
| @@ -37,7 +38,7 @@ void ConvertYUVToRGB32_MMX(const uint8* yplane, |
| width); |
| } |
| - _mm_empty(); |
| + EmptyRegisterState_MMX(); |
|
Alpha Left Google
2013/01/31 19:43:15
Use the MEDIA_DO_NOT_USE_MMX_INTRINSICS macro.
wolenetz
2013/01/31 22:13:45
Done.
|
| } |
| void ConvertYUVToRGB32_SSE(const uint8* yplane, |
| @@ -64,7 +65,7 @@ void ConvertYUVToRGB32_SSE(const uint8* yplane, |
| width); |
| } |
| - _mm_empty(); |
| + EmptyRegisterState_MMX(); |
|
Alpha Left Google
2013/01/31 19:43:15
Use the MEDIA_DO_NOT_USE_MMX_INTRINSICS macro.
wolenetz
2013/01/31 22:13:45
Done.
|
| } |
| } // namespace media |