You are not logged in.
Pages: 1
I've heard that D11 could support AVX2 finally. Don't have installed
anyone checked?
Would be good to support if possible not only for FPC..
Offline
I don't have D11 sadly.
So anyone with a license is welcome to try and propose a pull request on github.
You may try to define ASMX64AVX line 512 in mormot.defines.inc and see if it compiles for mORMot 2 on Delphi 11.
Offline
Offline
Does it compile with ymmword instead of oword ?
Please try with the latest commits.
pulled today, [dcc64 Error] mormot.core.base.asmx64.inc(142): E2003 Undeclared identifier: 'ymmword'
Offline
I have no clue what their Delphi 11 syntax is.
Could you try with the latest commit? I tried to use "yword ptr" for AVX/AVX2.... This is my last hope.
I am afraid it is only partial support, and I didn't find any documentation.
https://quality.embarcadero.com/browse/RSP-16836 is pretty short on information.
https://docwiki.embarcadero.com/RADStud … at%27s_New states that AVX2 should also be supported.
Fine.
But they also state that the CPU should support it. It is not totally true, because the CPU and the OS should both support it. Testing CPUID is not enough.
So I am a bit afraid it may be half backed. At least undocumented.
Offline
Probably as you have said, it's paper support only..
If you want try the last time or not anyway I'm pasting with the latest commit: https://i.imgur.com/Dl6tUbm.png
Offline
this time I increased size of output Messages window for wider picture:
https://i.imgur.com/djjKPQ7.png
Offline
If the Delphi asm is not able to support .align 32 I don't see how 256-bit AVX registers are usable...
I have fixed other issues, but this one if more difficult: it would trigger GPF at runtime, on some compilations... but perhaps not other compilations...
Offline
have you got technical possibility to report issue to EMB?
So (maybe) there is a chance to make real full support in 11.1...
Last edited by Greg0r (2021-09-20 20:44:21)
Offline
I asked to be part of the Delphi 11 beta (as I was with 10.4) but they didn't accept me.
In my current work, I don't use Delphi but only FPC + Lazarus, so I don't have any valid Delphi 11 license.
Offline
Pages: 1