J. Gareth Moreton <gar...@moreton-family.com> schrieb am So., 17. März
2019, 22:26:

> I do have a slight concern when it comes to intrinsic support, because
> support will be needed to be added for all platforms, (virtually) all
> instructions and tested to see if they expand into the expected
> instruction, along with determining what happens when you string several
> intrinsics together (i.e. passing the result of one such intrinsic into the
> actual parameter of another).  I want to say that it will require just as
> much, if not more, maintenance than permitting inlined assembler routines
> under limited circumstances, including adding intrinsics for every
> individual platform's assembly language and showing that it works.
>

No, intrinsics can be CPU specific. So if you'd use the intrinsic for
AESENC then you'd get a compile time error on non-x86 CPUs. No need to try
to implement them for all platforms.

Regards,
Sven

>
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to