* * *

Author Topic: Any support for "vectorcall" under Win64?  (Read 1163 times)

CuriousKit

  • New member
  • *
  • Posts: 25
Any support for "vectorcall" under Win64?
« on: April 12, 2016, 09:29:50 pm »
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

  • Hero Member
  • *****
  • Posts: 4429
Re: Any support for "vectorcall" under Win64?
« Reply #1 on: May 31, 2016, 02:06:42 pm »
For FPC -Sv is the option, but also select a suitable FPU. (SSE(X), AVX, AVX2)
"Logically, no number of positive outcomes at the level of experimental testing can confirm a scientific theory, but a single counterexample is logically decisive."

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus