| 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..9bbe34c5524263bf2130bed088a2b3ccdbd2180d
|
| --- /dev/null
|
| +++ b/media/base/simd/empty_register_state_mmx.asm
|
| @@ -0,0 +1,22 @@
|
| +; 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 supported in Visual Studio 2010 on x64.
|
| +; TODO(wolenetz): Use MMX intrinsics when compiling win64 with Visual
|
| +; Studio 2012? http://crbug.com/173450
|
| +;
|
| + SECTION_TEXT
|
| + CPU MMX
|
| +
|
| +%define SYMBOL EmptyRegisterState_MMX
|
| + global mangle(SYMBOL) PRIVATE
|
| + align function_align
|
| +
|
| +mangle(SYMBOL):
|
| + emms
|
| + ret
|
|
|