VirtualBox

Ignore:
Timestamp:
Jun 14, 2013 9:42:21 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
86409
Message:

asmdefs.mac,bootsectors,*: Removed xS and sZ in favor of xCB and sCB.

Location:
trunk/src/VBox/Runtime/common/math
Files:
17 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/math/ceill.asm

    r44528 r46548  
    3939    sub     xSP, 10h
    4040
    41     fld     tword [xBP + xS*2]
     41    fld     tword [xBP + xCB*2]
    4242
    4343    ; Make it round up by modifying the fpu control word.
  • trunk/src/VBox/Runtime/common/math/cosl.asm

    r44528 r46548  
    3232; compute the cosine of ldr, measured in radians.
    3333; @returns st(0)
    34 ; @param    lrd     [rbp + xS*2]
     34; @param    lrd     [rbp + xCB*2]
    3535BEGINPROC RT_NOCRT(cosl)
    3636    push    xBP
     
    3838    sub     xSP, 10h
    3939
    40     fld     tword [xBP + xS*2]
     40    fld     tword [xBP + xCB*2]
    4141    fcos
    4242    fnstsw  ax
  • trunk/src/VBox/Runtime/common/math/fabs.asm

    r44528 r46548  
    4949
    5050%else
    51     fld     qword [xBP + xS*2]
     51    fld     qword [xBP + xCB*2]
    5252    fabs
    5353%endif
  • trunk/src/VBox/Runtime/common/math/fabsf.asm

    r44528 r46548  
    4949
    5050%else
    51     fld     dword [xBP + xS*2]
     51    fld     dword [xBP + xCB*2]
    5252    fabs
    5353%endif
  • trunk/src/VBox/Runtime/common/math/fabsl.asm

    r44528 r46548  
    3232; Compute the absolute value of lrd (|lrd|).
    3333; @returns st(0)
    34 ; @param    lrd     [xSP + xS*2]
     34; @param    lrd     [xSP + xCB*2]
    3535BEGINPROC RT_NOCRT(fabsl)
    3636    push    xBP
    3737    mov     xBP, xSP
    3838
    39     fld     tword [xBP + xS*2]
     39    fld     tword [xBP + xCB*2]
    4040    fabs
    4141
  • trunk/src/VBox/Runtime/common/math/floor.asm

    r44528 r46548  
    4242    fld     qword [xSP]
    4343%else
    44     fld     qword [xBP + xS*2]
     44    fld     qword [xBP + xCB*2]
    4545%endif
    4646
  • trunk/src/VBox/Runtime/common/math/floorf.asm

    r44528 r46548  
    4242    fld     dword [xSP]
    4343%else
    44     fld     dword [xBP + xS*2]
     44    fld     dword [xBP + xCB*2]
    4545%endif
    4646
  • trunk/src/VBox/Runtime/common/math/floorl.asm

    r44528 r46548  
    3838    sub     xSP, 10h
    3939
    40     fld     tword [xBP + xS*2]
     40    fld     tword [xBP + xCB*2]
    4141
    4242    ; Make it round down by modifying the fpu control word.
  • trunk/src/VBox/Runtime/common/math/ldexpl.asm

    r44528 r46548  
    3232; Computes lrd * 2^exp
    3333; @returns st(0)
    34 ; @param    lrd     [rbp + xS*2]
     34; @param    lrd     [rbp + xCB*2]
    3535; @param    exp     [ebp + 14h]  GCC:edi  MSC:ecx
    3636BEGINPROC RT_NOCRT(ldexpl)
     
    4444    fild    dword [rsp]
    4545%else
    46     fild    dword [ebp + xS*2 + RTLRD_CB]
     46    fild    dword [ebp + xCB*2 + RTLRD_CB]
    4747%endif
    48     fld     tword [xBP + xS*2]
     48    fld     tword [xBP + xCB*2]
    4949    fscale
    5050    fstp    st1
  • trunk/src/VBox/Runtime/common/math/llrintl.asm

    r44528 r46548  
    3232; Round rd to the nearest integer value, rounding according to the current rounding direction.
    3333; @returns 32-bit: edx:eax  64-bit: rax
    34 ; @param    lrd     [rbp + xS*2]
     34; @param    lrd     [rbp + xCB*2]
    3535BEGINPROC RT_NOCRT(llrintl)
    3636    push    xBP
     
    3838    sub     xSP, 10h
    3939
    40     fld     tword [xBP + xS*2]
     40    fld     tword [xBP + xCB*2]
    4141    fistp   qword [xSP]
    4242    fwait
  • trunk/src/VBox/Runtime/common/math/logl.asm

    r44528 r46548  
    3232; compute the natural logarithm of lrd
    3333; @returns st(0)
    34 ; @param    lrd     [rbp + xS*2]
     34; @param    lrd     [rbp + xCB*2]
    3535BEGINPROC RT_NOCRT(logl)
    3636    push    xBP
     
    3939
    4040    fldln2                              ; st0=log(2)
    41     fld     tword [xBP + xS*2]          ; st1=log(2) st0=lrd
     41    fld     tword [xBP + xCB*2]         ; st1=log(2) st0=lrd
    4242    fld     st0                         ; st1=log(2) st0=lrd st0=lrd
    4343    fsub    qword [.one xWrtRIP]        ; st2=log(2) st1=lrd st0=lrd-1.0
  • trunk/src/VBox/Runtime/common/math/lrintl.asm

    r44528 r46548  
    3232; Round rd to the nearest integer value, rounding according to the current rounding direction.
    3333; @returns 32-bit: eax  64-bit: rax
    34 ; @param    lrd     [rbp + xS*2]
     34; @param    lrd     [rbp + xCB*2]
    3535BEGINPROC RT_NOCRT(lrintl)
    3636    push    xBP
     
    3838    sub     xSP, 10h
    3939
    40     fld     tword [xBP + xS*2]
     40    fld     tword [xBP + xCB*2]
    4141%ifdef RT_ARCH_AMD64
    4242    fistp   qword [xSP]
  • trunk/src/VBox/Runtime/common/math/sinl.asm

    r44528 r46548  
    3232; Compute the sine of lrd
    3333; @returns st(0)
    34 ; @param    lrd     [xSP + xS*2]
     34; @param    lrd     [xSP + xCB*2]
    3535BEGINPROC RT_NOCRT(sinl)
    3636    push    xBP
     
    3838    sub     xSP, 10h
    3939
    40     fld     tword [xBP + xS*2]
     40    fld     tword [xBP + xCB*2]
    4141    fsin
    4242    fnstsw  ax
  • trunk/src/VBox/Runtime/common/math/tanl.asm

    r44528 r46548  
    3232; Compute the sine of lrd
    3333; @returns st(0)
    34 ; @param    lrd     [xSP + xS*2]
     34; @param    lrd     [xSP + xCB*2]
    3535BEGINPROC RT_NOCRT(tanl)
    3636    push    xBP
     
    3838    sub     xSP, 10h
    3939
    40     fld     tword [xBP + xS*2]
     40    fld     tword [xBP + xCB*2]
    4141    fptan
    4242    fnstsw  ax
  • trunk/src/VBox/Runtime/common/math/trunc.asm

    r44528 r46548  
    4343    fld     qword [xSP]
    4444%else
    45     fld     qword [xBP + xS*2]
     45    fld     qword [xBP + xCB*2]
    4646%endif
    4747
  • trunk/src/VBox/Runtime/common/math/truncf.asm

    r44528 r46548  
    4343    fld     dword [xSP]
    4444%else
    45     fld     dword [xBP + xS*2]
     45    fld     dword [xBP + xCB*2]
    4646%endif
    4747
  • trunk/src/VBox/Runtime/common/math/truncl.asm

    r44528 r46548  
    3939    sub     xSP, 10h
    4040
    41     fld     tword [xBP + xS*2]
     41    fld     tword [xBP + xCB*2]
    4242
    4343    ; Make it truncate up by modifying the fpu control word.
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette