Chromium Code Reviews| Index: media/base/simd/empty_register_state_mmx.asm |
| diff --git a/media/base/simd/empty_register_state_mmx.asm b/media/base/simd/empty_register_state_mmx.asm |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..07ca6ed7f34248c6d42559b8c1ddc69db05d2114 |
| --- /dev/null |
| +++ b/media/base/simd/empty_register_state_mmx.asm |
| @@ -0,0 +1,20 @@ |
| +; Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| +; Use of this source code is governed by a BSD-style license that can be |
| +; found in the LICENSE file. |
| + |
| +%include "x86inc.asm" |
| + |
| +; |
| +; This file uses MMX instructions as an alternative to _mm_empty() which |
| +; is not fully supported across all toolchains. |
|
scherkus (not reviewing)
2013/02/01 01:13:17
nit: want to add TODO + mention 173450?
wolenetz
2013/02/01 02:42:07
Done.
|
| +; |
| + SECTION_TEXT |
| + CPU MMX |
| + |
| +%define SYMBOL EmptyRegisterState_MMX |
| + global mangle(SYMBOL) PRIVATE |
| + align function_align |
| + |
| +mangle(SYMBOL): |
| + emms |
| + ret |