I implemented an option for asynchronous (out-of-process) assembly. On Darwin, this makes building for me about 25% faster. With the llvm compiler and -O3, I get about 40% more speed (as the code generation improvements are done there in the assembly phase).

The patch can be found here <https://github.com/AdriaanVanOs/FreePascal-patches>, file <https://github.com/AdriaanVanOs/FreePascal-patches/blob/main/async-asm-331.diff>. The patch is for Darwin only, but it should be trivial to extend it to UNIX and Linux.

I plan to add a patch for 3.2.4 and binary installers for fpc-3.3.1 and fpc-3.2.4.

Regards,

Adriaan van Os
_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to