diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/clear_system_state.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test/clear_system_state.h b/test/clear_system_state.h index 609a8b050..044a5c758 100644 --- a/test/clear_system_state.h +++ b/test/clear_system_state.h @@ -11,13 +11,19 @@ #define TEST_CLEAR_SYSTEM_STATE_H_ #include "./vpx_config.h" -#include "vpx_ports/system_state.h" +#if ARCH_X86 || ARCH_X86_64 +#include "vpx_ports/x86.h" +#endif namespace libvpx_test { // Reset system to a known state. This function should be used for all non-API // test cases. -inline void ClearSystemState() { vpx_clear_system_state(); } +inline void ClearSystemState() { +#if ARCH_X86 || ARCH_X86_64 + vpx_reset_mmx_state(); +#endif +} } // namespace libvpx_test #endif // TEST_CLEAR_SYSTEM_STATE_H_ |