vp8,get_sub_mv_ref_prob: change arguments to uint32_t
[platform/upstream/libvpx.git] / vpx_ports / float_control_word.asm
1 ;
2 ;  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 ;
4 ;  Use of this source code is governed by a BSD-style license
5 ;  that can be found in the LICENSE file in the root of the source
6 ;  tree. An additional intellectual property rights grant can be found
7 ;  in the file PATENTS.  All contributing project authors may
8 ;  be found in the AUTHORS file in the root of the source tree.
9 ;
10
11
12 %include "vpx_ports/x86_abi_support.asm"
13
14 section .text
15
16 %if LIBVPX_YASM_WIN64
17 globalsym(vpx_winx64_fldcw)
18 sym(vpx_winx64_fldcw):
19     sub   rsp, 8
20     mov   [rsp], rcx ; win x64 specific
21     fldcw [rsp]
22     add   rsp, 8
23     ret
24
25
26 globalsym(vpx_winx64_fstcw)
27 sym(vpx_winx64_fstcw):
28     sub   rsp, 8
29     fstcw [rsp]
30     mov   rax, [rsp]
31     add   rsp, 8
32     ret
33 %endif