Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 ; found in the LICENSE file. | |
| 4 | |
| 5 %include "x86inc.asm" | |
| 6 | |
| 7 ; | |
| 8 ; This file uses MMX instructions as an alternative to _mm_empty() which | |
| 9 ; is not fully supported across all toolchains. | |
| 10 ; | |
| 11 SECTION_TEXT | |
| 12 CPU MMX | |
| 13 | |
| 14 %define SYMBOL EmptyRegisterState_MMX | |
| 15 global mangle(SYMBOL) PRIVATE | |
| 16 align function_align | |
| 17 | |
| 18 mangle(SYMBOL): | |
| 19 emms | |
| 20 ret | |
| OLD | NEW |