News:

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

Crunch an array of word integers

Started by jj2007, February 23, 2011, 09:21:54 PM

Previous topic - Next topic

dedndave

prescott w/htt
Intel(R) Pentium(R) 4 CPU 3.00GHz (SSE3)
458432  cycles for AddWordsA
731843  cycles for AddWordsB
809089  cycles for AddWordsC
552129  cycles for AddWordsD
171527  cycles for AddWordsF
125253  cycles for AxAddWordInt
365246  cycles for AxAddWordsFPU1
2179146 cycles for AxAddWordsFPU2

408528  cycles for AddWordsA
786652  cycles for AddWordsB
754086  cycles for AddWordsC
600091  cycles for AddWordsD
162244  cycles for AddWordsF
111249  cycles for AxAddWordInt
393605  cycles for AxAddWordsFPU1
2168627 cycles for AxAddWordsFPU2

Rockoon

Quote
AMD Phenom(tm) II X6 1055T Processor (SSE3)
244867  cycles for AddWordsA
269442  cycles for AddWordsB
269338  cycles for AddWordsC
241139  cycles for AddWordsD
91310   cycles for AddWordsF
80516   cycles for AxAddWordInt
244830  cycles for AxAddWordsFPU1
808410  cycles for AxAddWordsFPU2
1200000000      result for FPU1 code - should be 1200000000
1200000000      result for FPU2 code - should be 1200000000

242610  cycles for AddWordsA
269380  cycles for AddWordsB
266035  cycles for AddWordsC
241192  cycles for AddWordsD
92154   cycles for AddWordsF
79681   cycles for AxAddWordInt
243218  cycles for AxAddWordsFPU1
816073  cycles for AxAddWordsFPU2
1200000000      result for FPU1 code - should be 1200000000
1200000000      result for FPU2 code - should be 1200000000
When C++ compilers can be coerced to emit rcl and rcr, I *might* consider using one.

Antariy