michael@0: ; michael@0: ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. michael@0: ; michael@0: ; Use of this source code is governed by a BSD-style license michael@0: ; that can be found in the LICENSE file in the root of the source michael@0: ; tree. An additional intellectual property rights grant can be found michael@0: ; in the file PATENTS. All contributing project authors may michael@0: ; be found in the AUTHORS file in the root of the source tree. michael@0: ; michael@0: michael@0: michael@0: %include "vpx_ports/x86_abi_support.asm" michael@0: michael@0: section .text michael@0: global sym(vpx_reset_mmx_state) PRIVATE michael@0: sym(vpx_reset_mmx_state): michael@0: emms michael@0: ret michael@0: michael@0: michael@0: %if LIBVPX_YASM_WIN64 michael@0: global sym(vpx_winx64_fldcw) PRIVATE michael@0: sym(vpx_winx64_fldcw): michael@0: sub rsp, 8 michael@0: mov [rsp], rcx ; win x64 specific michael@0: fldcw [rsp] michael@0: add rsp, 8 michael@0: ret michael@0: michael@0: michael@0: global sym(vpx_winx64_fstcw) PRIVATE michael@0: sym(vpx_winx64_fstcw): michael@0: sub rsp, 8 michael@0: fstcw [rsp] michael@0: mov rax, [rsp] michael@0: add rsp, 8 michael@0: ret michael@0: %endif