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