FastMM4-AVX
FastMM4-AVX copied to clipboard
First tests under Linux, Delphi 12.3, FMX Linux 1.76, Linux Mint 20.03
@maximmasiutin Thank you for mentioning me as a contributor though I haven't done anything (almost) yet. So now its time to help to make it work properly. First tests:
- I have got a relatively simple console app to parse and generate the seismic data text files
- Vanilla fastoptions.inc, FastMM4_AVX512_Linux.o is created
- It is compiled, that's good news
- Under debugger i could not go further than the Delphi startup procedure that the copies compiled binary to the Linux VM remote directory. It fails when trying to execute DirectoryExists and specifically the code ..... if not Result and (lstat(M.AsUTF8(Directory).ToPointer, LStatBuf) = 0) and S_ISLNK(LStatBuf.st_mode) then .... where it raises integer Overflow, after disabling it I have got a Range Check exception in the FastMM InsertMediumBlockIntoBin function where AMediumBlockSize=0 is passed. After disable all compiler checks I have got an invalid floating point operation at the same code.
- I disabled AVX: {$define DisableAVX1} {$define DisableAVX2} {$define DisableAVX512} But no obvious changes observed
What to check next?