VirtualBox

Changeset 86280 in vbox


Ignore:
Timestamp:
Sep 24, 2020 8:45:32 PM (4 years ago)
Author:
vboxsync
Message:

xpcom/xptcall: A couple of fixes wrt float & double values. bugref:9790

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_amd64_vbox.asm

    r86278 r86280  
    118118        sub     al, T_FLOAT
    119119        sub     al, 2
    120         je      .fast_bailout
     120        jl      .fast_bailout
    121121        mov     %4,  [rbx + nsXPTCVariant_size * %3 + nsXPTCVariant.val]
    122122%endmacro
     
    191191        test    byte [rbx + nsXPTCVariant.flags], PTR_IS_DATA
    192192        jnz     .is_ptr
    193         cmp     dword [rbx + nsXPTCVariant.type], T_FLOAT
     193        cmp     byte [rbx + nsXPTCVariant.type], T_FLOAT
    194194        jge     .maybe_in_fpreg
    195195
     
    266266.maybe_in_fpreg:
    267267        je      .float_in_fpreg
    268         cmp     dword [rbx + nsXPTCVariant.type], T_DOUBLE
     268        cmp     byte [rbx + nsXPTCVariant.type], T_DOUBLE
    269269        jne     .in_greg
    270270
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