Author Topic: PopCount  (Read 3665 times)

hutch--

  • Administrator
  • Member
  • ******
  • Posts: 4807
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: PopCount
« Reply #15 on: June 21, 2016, 10:55:06 AM »

Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz
Counting 1000* the lines in Windows.inc
naive   MasmB   w/frame lfcnt
902     77      64 ms   838 ms
888     69      106 ms  774 ms
961     107     80 ms   837 ms
868     54      59 ms   731 ms
824     55      59 ms   774 ms
829     73      59 ms   764 ms
822     54      59 ms   731 ms
821     79      85 ms   840 ms
26897 lines found
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

Siekmanski

  • Member
  • *****
  • Posts: 1089
Re: PopCount
« Reply #16 on: June 21, 2016, 11:36:01 AM »
Code: [Select]
Intel(R) Core(TM) i7-4930K CPU @ 3.40GHz (MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX)
459 ms, sum alex=799979533
359 ms, sum mb32=799979533
332 ms, sum mb16=799979533
344 ms, sum popc=799979533

461 ms, sum alex=799979533
359 ms, sum mb32=799979533
358 ms, sum mb16=799979533
374 ms, sum popc=799979533

461 ms, sum alex=799979533
369 ms, sum mb32=799979533
351 ms, sum mb16=799979533
344 ms, sum popc=799979533

Code: [Select]
Intel(R) Core(TM) i7-4930K CPU @ 3.40GHz
Counting 1000* the lines in Windows.inc
naive   MasmB   w/frame lfcnt
1148    74      100 ms  1191 ms
1141    74      81 ms   1191 ms
1141    74      81 ms   1204 ms
1141    74      81 ms   1192 ms
1291    74      81 ms   1192 ms
1307    74      81 ms   1192 ms
1141    74      81 ms   1192 ms
1141    74      81 ms   1191 ms
30994 lines found

LiaoMi

  • Member
  • **
  • Posts: 132
Re: PopCount
« Reply #17 on: June 21, 2016, 11:08:26 PM »
Thanks, LiaoMi :icon14:

Your line count is low - is that the latest Masm32 SDK?

Hallo,

no, I noticed that too, it was this version WINDOWS.INC for 32 bit MASM (Version 1.4c RELEASE April 2008), now the test for a new version - WINDOWS.INC for 32 bit MASM (Version 1.6 RELEASE January 2012)

Code: [Select]
Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz
Counting 1000* the lines in Windows.inc
naive   MasmB   w/frame lfcnt
838     60      60 ms   747 ms
837     56      61 ms   748 ms
854     58      60 ms   742 ms
894     57      63 ms   750 ms
848     56      63 ms   752 ms
846     57      60 ms   751 ms
840     57      61 ms   752 ms
834     54      62 ms   749 ms
26902 lines found

Code: [Select]
Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz (MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX)
382 ms, sum alex=799979533
345 ms, sum mb32=799979533
313 ms, sum mb16=799979533
297 ms, sum popc=799979533

390 ms, sum alex=799979533
343 ms, sum mb32=799979533
298 ms, sum mb16=799979533
344 ms, sum popc=799979533

378 ms, sum alex=799979533
344 ms, sum mb32=799979533
317 ms, sum mb16=799979533
290 ms, sum popc=799979533

Best regards

jj2007

  • Member
  • *****
  • Posts: 7541
  • Assembler is fun ;-)
    • MasmBasic
Re: PopCount
« Reply #18 on: June 22, 2016, 02:04:14 AM »
new version - WINDOWS.INC for 32 bit MASM (Version 1.6 RELEASE January 2012)
...
26902 lines found

Yep, that's the current one :t

Question is now what Siekmanski has put into the over 4,000 extra lines ::)

Siekmanski

  • Member
  • *****
  • Posts: 1089
Re: PopCount
« Reply #19 on: June 22, 2016, 05:47:44 AM »

Question is now what Siekmanski has put into the over 4,000 extra lines ::)

The Dutch are the tallest people on earth and also have the largest Windows.Inc files.  :biggrin: