| OLD | NEW |
| 1 ; Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 ; Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 ; Use of this source code is governed by a BSD-style license that can be | 2 ; Use of this source code is governed by a BSD-style license that can be |
| 3 ; found in the LICENSE file. | 3 ; found in the LICENSE file. |
| 4 | 4 |
| 5 %include "media/base/simd/media_export.asm" |
| 5 %include "third_party/x86inc/x86inc.asm" | 6 %include "third_party/x86inc/x86inc.asm" |
| 6 | 7 |
| 7 ; | 8 ; |
| 8 ; This file uses MMX instructions as an alternative to _mm_empty() which | 9 ; This file uses MMX instructions as an alternative to _mm_empty() which |
| 9 ; is not supported in Visual Studio 2010 on x64. | 10 ; is not supported in Visual Studio 2010 on x64. |
| 10 ; TODO(wolenetz): Use MMX intrinsics when compiling win64 with Visual | 11 ; TODO(wolenetz): Use MMX intrinsics when compiling win64 with Visual |
| 11 ; Studio 2012? http://crbug.com/173450 | 12 ; Studio 2012? http://crbug.com/173450 |
| 12 ; | 13 ; |
| 13 SECTION_TEXT | 14 SECTION_TEXT |
| 14 CPU MMX | 15 CPU MMX |
| 15 | 16 |
| 16 %define SYMBOL EmptyRegisterState_MMX | 17 %define SYMBOL EmptyRegisterState_MMX |
| 17 global mangle(SYMBOL) PRIVATE | 18 EXPORT SYMBOL |
| 18 align function_align | 19 align function_align |
| 19 | 20 |
| 20 mangle(SYMBOL): | 21 mangle(SYMBOL): |
| 21 emms | 22 emms |
| 22 ret | 23 ret |
| 23 | 24 |
| OLD | NEW |