rnk wrote: Sure, but winnt.h declares and uses tons of x86 intrinsics already, and we have a way to make this work. Let me go look at what we did for `_m_prefetchw` and see if we can apply that here.
We want to do something similar to a default-error-warning, where system headers like winnt.h are allowed to be non-portable (use the MSVC intrinsic model), but we push users to write portable code by including the relevant portable intrinsic header (arm_acle.h). https://github.com/llvm/llvm-project/pull/136742 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits