VirtualBox

Changeset 52335 in vbox for trunk/src/VBox/Runtime/include


Ignore:
Timestamp:
Aug 11, 2014 12:30:20 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
95460
Message:

RTBigNum: Added shift APIs, implemented a faster division algorithm, optimized multiplication on x86 & amd64.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/include/internal/bignum.mac

    r52290 r52335  
    3535 %define RTBIGNUM_ELEMENT_BITS          (RTBIGNUM_ELEMENT_SIZE * 8)
    3636 %define RTBIGNUM_ELEMENT_BIT(iBit)     RT_BIT_64(iBit)
     37 %define RTBIGNUM_ELEMENT_PRE           qword
    3738%else
    3839 %define RTBIGNUM_ELEMENT_SIZE          4
    3940 %define RTBIGNUM_ELEMENT_BITS          (RTBIGNUM_ELEMENT_SIZE * 8)
    4041 %define RTBIGNUM_ELEMENT_BIT(iBit)     RT_BIT_32(iBit)
     42 %define RTBIGNUM_ELEMENT_PRE           dword
    4143%endif
    4244
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