Usage of CPU intrinsics in SPM projects

@scanon Thank you, I didn't consider annotating the function, which in hindsight is very obvious :flushed:

I think it's not currently possible to use Intel Intrinsic functions from Swift directly (maybe I am wrong).

A few weeks ago I've tried using _mm_crc32_u8 directly from Swift and it resulted in a compiler crash. (See Compiler crash when using intel intrinsics).

Thanks a lot,
Thomas

1 Like