How do people usually call intrinsics from tcc? If I wrote a wrapper in C and compiled it using clang or gcc, I won't have any issues linking or with an ABI? I'm specifically thinking about AVX2 instructions/YMM registers on x86-64 (my linux build) and NEON on ARM (mac build).
The only instruction off the top of my head that may have an issue is __rdtsc/__rdtscp. The overhead of a function call would make it useless. However I use tcc with debug builds and I can't think of a good reason to use __rdtsc in a debug build. Has someone already done the work of writing a c wrapper for AVX or NEON? _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel