Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: ANN: FastMM4-AVX interfaces for Delphi and Delphi XE versions and FPC



Permlink Replies: 2 - Last Post: Apr 17, 2018 6:18 PM Last Post By: Amine Moulay Ra... Threads: [ Previous | Next ]
Amine Moulay Ra...

Posts: 599
Registered: 2/12/10
ANN: FastMM4-AVX interfaces for Delphi and Delphi XE versions and FPC
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 17, 2018 3:24 PM
Hello,

FastMM4-AVX interfaces for Delphi and Delphi XE versions and FreePascal

Description:

FastMM4-AVX memory manager interfaces for Delphi and Delphi XE versions and FreePascal with the windows 32 bit and 64 bit Dynamic Link Libraries, this memory manager is fast, and it scales well under multi-threaded usage, and it is not prone to memory fragmentation, and if the CPU supports AVX or AVX2, uses the 32-byte YMM registers for faster memory copy, and if the CPU supports AVX-512, uses the 64-byte ZMM registers for even faster memory copy.

You can download the source code and read about it from:

https://github.com/maximmasiutin/FastMM4-AVX

And how to install it ?

Just place FastMM4_avx as the very first unit under the "uses" clause of your project's .dpr file.

You have one of the following define option that you can set inside the defines.inc file:

{$DEFINE CPU32} for 32 bit systems

{$DEFINE CPU64} for 64 bit systems.

You can download it from:

https://sites.google.com/site/aminer68/fastmm4-avx-interfaces-for-delphi-and-delphi-xe-versions-and-freepascal

Thank you,
Amine Moulay Ramdane.

Ian Branch

Posts: 442
Registered: 9/23/99
Re: ANN: FastMM4-AVX interfaces for Delphi and Delphi XE versions and FPC
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 17, 2018 4:47 PM   in response to: Amine Moulay Ra... in response to: Amine Moulay Ra...
Hi Amine,
Point of clarification on installation.
I already use FastMM4 v 4.992 in my projects. As such it is the first item in the project uses section.
Do I leave FastMM4 there and put FastMM4_avx in prior to it, or, remove the fastmm4 reference?
Should the fastmm4_avx files be installed into the fastmm4 directory or separate?
Regards & TIA,
Ian
Amine Moulay Ra...

Posts: 599
Registered: 2/12/10
Re: ANN: FastMM4-AVX interfaces for Delphi and Delphi XE versions and FPC
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 17, 2018 6:18 PM   in response to: Ian Branch in response to: Ian Branch
Ian Branch wrote:
Hi Amine,
Point of clarification on installation.
I already use FastMM4 v 4.992 in my projects. As such it is the first item in the project uses section.
Do I leave FastMM4 there and put FastMM4_avx in prior to it, or, remove the fastmm4 reference?
Should the fastmm4_avx files be installed into the fastmm4 directory or separate?
Regards & TIA,
Ian

Hello,

Just place FastMM4_avx as the very first unit under the "uses" clause of your project's file.

That's all.

Thank you,
Amine Moulay Ramdane..

Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02