diff options
author | Johann Koenig <johannkoenig@google.com> | 2018-03-14 19:06:57 +0000 |
---|---|---|
committer | Johann Koenig <johannkoenig@google.com> | 2018-03-14 20:26:44 +0000 |
commit | 60beb781c140b61c1957abd2a6717d2e9a831933 (patch) | |
tree | 73040138b038de826222ed6ea3c823490a18bb55 /test | |
parent | ae856e401293da36cee57d8e1b5a4fbb66a0fe06 (diff) | |
download | libvpx-60beb781c140b61c1957abd2a6717d2e9a831933.tar libvpx-60beb781c140b61c1957abd2a6717d2e9a831933.tar.gz libvpx-60beb781c140b61c1957abd2a6717d2e9a831933.tar.bz2 libvpx-60beb781c140b61c1957abd2a6717d2e9a831933.zip |
Revert "use intrinsics for 'emms'"
This reverts commit 118a57045bf5b49ab7c2f7f930543b9217fd422e.
Reason for revert: Fails on Visual Studio builds:
vpxmdd.lib(vpx_ports_emms_mmx.obj) : error LNK2019: unresolved
external symbol _m_empty referenced in function
vpx_clear_system_state
Original change's description:
> use intrinsics for 'emms'
>
> BUG=webm:1500
>
> Change-Id: I3235d8c2abc01dd3a35e14c5cbcfe20283ff8fb2
Change-Id: Ia9c40bc103c57cced83353249c55218eaf2f0b0c
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_ |