The parts for this are implemented in C using the Intel intrinsics in Clang.
Currently, clang requires the
-msse4.2 flag to be passed as a compile option.
Is there a way in Swift Package Manager to pass the
-msse4.2 flag as a compile option that doesn't involve
If not any suggestions other than restoring to inline assembly to use architecture-specific instructions.
Would it be worth considering to add support for intrinsics for ARM and Intel as "safe" compile options in Swift Package manager?