VirtualBox

Changeset 2253 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Apr 20, 2007 4:47:28 AM (18 years ago)
Author:
vboxsync
Message:

Added (disabled) the overflow testcase for ASMMultU64ByU32DivByU32.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstInlineAsm.cpp

    r1888 r2253  
    824824    u64 = ASMMultU64ByU32DivByU32(UINT64_C(0x3415934810359583), UINT32_C(0xf8694045), UINT32_C(0x58734981));
    825825    CHECKVAL(u64, UINT64_C(0x924719355cd35a27), "%#018RX64");
     826
     827#if 0 /* question is whether this should trap or not */
     828    u64 = ASMMultU64ByU32DivByU32(UINT64_C(0xfffffff8c65d6731), UINT32_C(0x77d7daf8), UINT32_C(0x3b9aca00));
     829    CHECKVAL(u64, UINT64_C(0x02b8f9a2aa74e3dc), "%#018RX64");
     830#endif
    826831}
    827832
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