Forum > Windows

Any support for "vectorcall" under Win64?

(1/1)

CuriousKit:
I don't know whether to call this a feature request or asking for an answer in regards to what Free Pascal's implementation is...

Is there a means to request that a function be compiled under "vectorcall" rules when the target is x86-64 under Win64?  That is, https://msdn.microsoft.com/en-gb/library/dn375768.aspx?f=255&MSPPError=-2147217396.

I have a number of assembly language routines that are optimised to use SSE and AVX, but I still have to load input vectors into the XMM registers and store them back in memory afterwards, only to load them again for the next function.

Thaddy:
For FPC -Sv is the option, but also select a suitable FPU. (SSE(X), AVX, AVX2)

Navigation

[0] Message Index

Go to full version