Am 17.03.2019 um 18:57 schrieb Florian Klämpfl: > How is it better than intrinsics support (similiar to gcc/icc etc.)? It *exists*?
Remember how long it took to get PopCnt support? How about the rest of the BMI? TBM? AES-NI? Newer AVX? Implementation of these would be a lot easier if they could be written in code, even with native-pascal implementations as drop-ins for platforms that don't support them (or use other mnemonics). Those would just be normal declarations (in the RTL or in a package), and not require modifying the compiler for all platforms. It would also be easier to maintain, as there wouldn't be the need for new inlinennodes or entirely different node types. -- Regards, Martok _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel