tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

float.asm (887B)


      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 %include "aom_ports/x86_abi_support.asm"
     14 
     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
     24 
     25 
     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