[clang] [ppc_wrappers] Fix _mm_movemask_ps bit order on big-endian (PR #224328)

via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 12 14:52:13 PST 2026


================
@@ -1318,7 +1318,7 @@ extern __inline int
 #ifdef __LITTLE_ENDIAN__
       0x00204060, 0x80808080, 0x80808080, 0x80808080
 #else
-      0x80808080, 0x80808080, 0x80808080, 0x00204060
+      0x80808080, 0x80808080, 0x80808080, 0x60402000
----------------
RolandF77 wrote:

Note that the PWR10 vextractwm implementation does the exact same thing as the PWR8 vbpermq implementation. It will also not be the reverse of what you expect.

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


More information about the cfe-commits mailing list