Recent

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

CuriousKit

  • Jr. Member
  • **
  • Posts: 78
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: 14157
  • Probably until I exterminate Putin.
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)
Specialize a type, not a var.

 

TinyPortal © 2005-2018