[fpc-devel] Successful implementation of inline support forpure assembler routines on x86

Florian Klämpfl florian at freepascal.org
Sun Mar 24 10:45:20 CET 2019


Am 18.03.2019 um 02:57 schrieb Ben Grasset:
> On Sun, Mar 17, 2019 at 1:57 PM Florian Klämpfl <florian at freepascal.org <mailto:florian at freepascal.org>> wrote:
> 
> 
>     How is it better than intrinsics support (similiar to gcc/icc etc.)?
> 
> 
> Well, it wouldn't be better than a literal equivalent to those intriniscs, if that's what we're talking about. By which
> I mean, like, say how in Clang/GCC (or languages such as Rust that use LLVM), if you do _mm_loadl_pd or whatever, that
> translates not to a function call but directly to the "inlined" assembler instructions (at least in release builds.) 

Yes, that's what I mean. So far I have not seen a single advantage of inlining pure assembler routines over such intrinsics.



More information about the fpc-devel mailing list