[flang-commits] [flang] [PowerPC] Fix use of FPSCR builtins in smmintrin.h (PR #67299)

Stefan Pintilie via flang-commits flang-commits at lists.llvm.org
Fri Oct 20 07:17:36 PDT 2023


================
@@ -68,10 +68,10 @@ extern __inline __m128d
     __asm__("mffsce %0" : "=f"(__fpscr_save.__fr));
     __enables_save.__fpscr = __fpscr_save.__fpscr & 0xf8;
 #else
-    __fpscr_save.__fr = __builtin_mffs();
+    __fpscr_save.__fr = __builtin_ppc_mffs();
----------------
stefanp-ibm wrote:

Okay, that's fair. 

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


More information about the flang-commits mailing list