1; 2; Copyright (c) 2016, Alliance for Open Media. All rights reserved 3; 4; This source code is subject to the terms of the BSD 2 Clause License and 5; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License 6; was not distributed with this source code in the LICENSE file, you can 7; obtain it at www.aomedia.org/license/software. If the Alliance for Open 8; Media Patent License 1.0 was not distributed with this source code in the 9; PATENTS file, you can obtain it at www.aomedia.org/license/patent. 10; 11 12; 13 14 15%include "aom_ports/x86_abi_support.asm" 16 17section .text 18global sym(aom_reset_mmx_state) PRIVATE 19sym(aom_reset_mmx_state): 20 emms 21 ret 22 23 24%if LIBAOM_YASM_WIN64 25global sym(aom_winx64_fldcw) PRIVATE 26sym(aom_winx64_fldcw): 27 sub rsp, 8 28 mov [rsp], rcx ; win x64 specific 29 fldcw [rsp] 30 add rsp, 8 31 ret 32 33 34global sym(aom_winx64_fstcw) PRIVATE 35sym(aom_winx64_fstcw): 36 sub rsp, 8 37 fstcw [rsp] 38 mov rax, [rsp] 39 add rsp, 8 40 ret 41%endif 42