[fpc-devel] The new XMM intrinsics

J. Gareth Moreton gareth at moreton-family.com
Sat Jan 18 18:52:29 CET 2020

I think more than anything I would like to see a degree of "ease of use" 
for the SIMD intrinsics, since modifying __m128 data in C/C++ is not 
that straightforward.  Just as a straightforward example, what might be 
the best way to ensure these following record types are compatible with 
the __m128 data types?

*type *TVector4 = *record*
   X, Y, Z, W: Single;
*end*; // compatible with __m128f

*type *TComplex = *record*
   Re, Im: Double;
*end*; // compatible with __m128d

Programmers on their own projects, whether it be a game or a 
mathematical program, would much rather work with those constructs if it 
can be helped... or at least I would.

Gareth aka. Kit

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20200118/09b6b613/attachment-0001.html>

More information about the fpc-devel mailing list