[fpc-devel] State of SSE/AVX intrinsics

J. Gareth Moreton gareth at moreton-family.com
Wed Apr 22 15:45:33 CEST 2020

I'm not totally certain what the design intentions are with new language 
features - back in the 90s, a friend told me Pascal (actually Delphi 
2.0) has the simplicity of Visual Basic but the power of Visual C++.  
I'm not sure how true that is, but it's what's inspired me.  Going by 
that, I would like new or adapted features to be relatively easy to use 
while still being efficient.

A global option, like a preprocessor directive or command line option, 
feels a bit dangerous and can easily introduce unexpected bugs if it's 
left out, so an explicit optional parameter (e.g. GetMem(AlignedVector, 
4096, 64);) would feel like the way to go.

Gareth aka. Kit

P.S. The only exception to an 'easy to use' feature in my eyes is inline 
assembly, which I've always seen as "it's there if you want to use it".

This email has been checked for viruses by Avast antivirus software.

More information about the fpc-devel mailing list