Author Topic: Crashes in HJWASM but works well in JWASM  (Read 11509 times)

AW

  • Member
  • *****
  • Posts: 2563
  • Let's Make ASM Great Again!
Re: Crashes in HJWASM but works well in JWASM
« Reply #60 on: March 18, 2017, 02:31:11 AM »
If DMath64.asm belongs to library and had many functions, COMDAT is useful for it and [h]jwasm support it.
(ml64 don't have it, so it is not useful for that kind of one file libraries, so with it source must splitted to several parts)
DMath is itself a library and does not depend on anything else, not even on the Windows API, I am afraid I can only optimize it by hand. :(

jj2007

  • Member
  • *****
  • Posts: 10086
  • Assembler is fun ;-)
    • MasmBasic
Re: Crashes in HJWASM but works well in JWASM
« Reply #61 on: March 18, 2017, 03:21:43 AM »
DMath64.asm: 21545 lines, 8 passes, 411 ms, 0 warnings, 0 errors

You have a fast machine then :biggrin:

RichMasm.asm: 18332 lines, 9 passes, 925 ms, 0 warnings, 0 errors (Intel Core i5 on Win7-64)

AW

  • Member
  • *****
  • Posts: 2563
  • Let's Make ASM Great Again!
Re: Crashes in HJWASM but works well in JWASM
« Reply #62 on: March 18, 2017, 04:05:54 AM »
DMath64.asm: 21545 lines, 8 passes, 411 ms, 0 warnings, 0 errors

You have a fast machine then :biggrin:

RichMasm.asm: 18332 lines, 9 passes, 925 ms, 0 warnings, 0 errors (Intel Core i5 on Win7-64)

I found it lazy though, it is an old Sandy-Bridge from 2013 with 6 cores/12 virtual CPUs. By default each application receives only a maximum of about 8% (100/12) of total power.