[clang] [llvm] Clang: convert `__m64` intrinsics to unconditionally use SSE2 instead of MMX. (PR #96540)

James Y Knight via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 24 15:40:19 PDT 2024


================
@@ -159,6 +159,20 @@ AMDGPU Support
 X86 Support
 ^^^^^^^^^^^
 
+- The MMX vector intrinsic functions from ``*mmintrin.h`` which
+  operate on `__m64` vectors, such as ``_mm_add_pi8``, have been
+  reimplemented to use the SSE2 instruction-set and XMM registers
+  unconditionally. These intrinsics are therefore *no longer
+  supported* if MMX is enabled without SSE2 -- either from targeting
+  CPUs from the Pentium-MMX through the Pentium 3, or explicitly via
+  passing arguments such as ``-mmmx -mno-sse2``.
----------------
jyknight wrote:

Done in b79568654e38a14ef921af932ed96abd8961b1ed.

https://github.com/llvm/llvm-project/pull/96540


More information about the llvm-commits mailing list