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 "third_party/x86inc/x86inc.asm" | 5 %include "third_party/x86inc/x86inc.asm" |
6 | 6 |
7 ; | 7 ; |
8 ; This file uses MMX instructions as an alternative to _mm_empty() which | 8 ; This file uses MMX instructions as an alternative to _mm_empty() which |
9 ; is not supported in Visual Studio 2010 on x64. | 9 ; is not supported in Visual Studio 2010 on x64. |
10 ; TODO(wolenetz): Use MMX intrinsics when compiling win64 with Visual | 10 ; TODO(wolenetz): Use MMX intrinsics when compiling win64 with Visual |
11 ; Studio 2012? http://crbug.com/173450 | 11 ; Studio 2012? http://crbug.com/173450 |
12 ; | 12 ; |
13 SECTION_TEXT | 13 SECTION_TEXT |
14 CPU MMX | 14 CPU MMX |
15 | 15 |
16 %define SYMBOL EmptyRegisterState_MMX | 16 %define SYMBOL EmptyRegisterState_MMX |
17 global mangle(SYMBOL) PRIVATE | 17 EXPORT SYMBOL |
18 align function_align | 18 align function_align |
19 | 19 |
20 mangle(SYMBOL): | 20 mangle(SYMBOL): |
21 emms | 21 emms |
22 ret | 22 ret |
23 | 23 |
OLD | NEW |