Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(852)

Unified Diff: media/base/simd/empty_register_state_mmx.asm

Issue 12082087: Replace or exclude MMX intrinsics in yuv_convert_simd_x86 due to lack of VS2010 support for them in… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Localize use of new macro and yasm emms to yuv_convert.cc Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698