hadamard: Add 4x4 test.
[aom.git] / aom_ports / float.asm
blobabff60a7a4cc41a6f1e1a05dcb6d93658b3dcf09
2 ; Copyright (c) 2016, Alliance for Open Media. All rights reserved
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.
13 %include "aom_ports/x86_abi_support.asm"
15 section .text
16 %if LIBAOM_YASM_WIN64
17 globalsym(aom_winx64_fldcw)
18 sym(aom_winx64_fldcw):
19 sub rsp, 8
20 mov [rsp], rcx ; win x64 specific
21 fldcw [rsp]
22 add rsp, 8
23 ret
26 globalsym(aom_winx64_fstcw)
27 sym(aom_winx64_fstcw):
28 sub rsp, 8
29 fstcw [rsp]
30 mov rax, [rsp]
31 add rsp, 8
32 ret
33 %endif