News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Faster Bin2ASCII

Started by lingo, March 26, 2008, 01:07:37 PM

Previous topic - Next topic

Rainstorm

core2duo 2.66Ghz 1333mhz FSB/4M - Winxp Pro - sp2

bin2ascii
------------

74 cycles, bin2ascii-AMD
65 cycles, bin2ascii-lingo
Press any key to exit...


lastbin2asci
-----------------
74 cycles, bin2ascii-AMD
63 cycles, bin2ascii-lingo
47 cycles, bi2ascii-lingo 2
46 cycles, uDw2Ascii - NightWare
29 cycles, udword-p.dixon
26 cycles, udwordl-lingo 3
Press any key to exit...


b2a3264
-------------
86 cycles, uqword-with 64 bit number - p.dixon
76 cycles, b2a3264-with 64 bit number - lingo
32 cycles, uqword-with 32 bit number - p.dixon
29 cycles, b2a3264-with 32 bit number - lingo
Press any key to exit..

FairLight

Intel Core2Duo E6850, 3Ghz, 4 GB installed RAM, XP Pro 32bit SP3

---------------------------------------------
1st run:

123456789
123456789
123456789
123456789
123456789
123456789
56 cycles, bin2ascii-AMD
48 cycles, bin2ascii-lingo
37 cycles, bi2ascii-lingo 2
34 cycles, uDw2Ascii - NightWare
22 cycles, udword-p.dixon
20 cycles, udwordl-lingo 3
Press any key to exit...

---------------------------------------------

2nd run:

123456789
123456789
123456789
123456789
123456789
123456789
84 cycles, bin2ascii-AMD
71 cycles, bin2ascii-lingo
54 cycles, bi2ascii-lingo 2
49 cycles, uDw2Ascii - NightWare
22 cycles, udword-p.dixon
20 cycles, udwordl-lingo 3
Press any key to exit...

---------------------------------------------

3rd run:

123456789
123456789
123456789
123456789
123456789
123456789
84 cycles, bin2ascii-AMD
73 cycles, bin2ascii-lingo
53 cycles, bi2ascii-lingo 2
34 cycles, uDw2Ascii - NightWare
22 cycles, udword-p.dixon
20 cycles, udwordl-lingo 3
Press any key to exit...

---------------------------------------------

CUL8'er.