VirtualBox

Changeset 2254 in vbox for trunk/src


Ignore:
Timestamp:
Apr 20, 2007 7:43:35 AM (18 years ago)
Author:
vboxsync
Message:

r=frank

File:
1 edited

Legend:

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

    r2253 r2254  
    826826
    827827#if 0 /* question is whether this should trap or not */
     828      /*
     829       * r=frank: Of course it must trap:
     830       *
     831       *   0xfffffff8 * 0x77d7daf8 = 0x77d7daf441412840
     832       *
     833       * During the following division, the quotient must fit into a 32-bit register.
     834       * Therefore the smallest valid divisor is
     835       *
     836       *  (0x77d7daf441412840 >> 32) + 1 = 0x77d7daf5
     837       *
     838       * which is definitely greater than  0x3b9aca00.
     839       */
    828840    u64 = ASMMultU64ByU32DivByU32(UINT64_C(0xfffffff8c65d6731), UINT32_C(0x77d7daf8), UINT32_C(0x3b9aca00));
    829841    CHECKVAL(u64, UINT64_C(0x02b8f9a2aa74e3dc), "%#018RX64");
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