diff --git a/src/libm/dispscalar.c.org b/src/libm/dispscalar.c.org index 461e2668..3b36d1b1 100644 --- a/src/libm/dispscalar.c.org +++ b/src/libm/dispscalar.c.org @@ -15,8 +15,8 @@ #include "dispatcher.h" -NOEXPORT double sleef_cpuidtmp2; -static void tryFMA() { sleef_cpuidtmp2 = Sleef_sind1_u10purecfma(sleef_cpuidtmp2); } +NOEXPORT double sleef_cpuid_SCALFMA; +static void tryFMA() { sleef_cpuid_SCALFMA = Sleef_sind1_u10purecfma(sleef_cpuid_SCALFMA); } #define SUBST_IF_EXT1(funcExt1) if (cpuSupportsExt(tryFMA)) p = funcExt1; #define SUBST_IF_EXT2(funcExt2) diff --git a/src/libm/tryvsx3.c b/src/libm/tryvsx3.c index 34d636c4..b53c750b 100644 --- a/src/libm/tryvsx3.c +++ b/src/libm/tryvsx3.c @@ -1,8 +1,8 @@ #include -__vector double sleef_cpuidtmp0; -__vector unsigned long long sleef_cpuidtmp1, sleef_cpuidtmp2; +__vector double sleef_cpuid_VSX0; +__vector unsigned long long sleef_cpuid_VSX1, sleef_cpuid_VSX3; void sleef_tryVSX3() { - sleef_cpuidtmp0 = vec_insert_exp(sleef_cpuidtmp1, sleef_cpuidtmp2); + sleef_cpuid_VSX0 = vec_insert_exp(sleef_cpuid_VSX1, sleef_cpuid_VSX3); } diff --git a/src/libm/tryvxe2.c b/src/libm/tryvxe2.c index 21c35ec0..b4a73a9f 100644 --- a/src/libm/tryvxe2.c +++ b/src/libm/tryvxe2.c @@ -1,8 +1,8 @@ #include -__vector float sleef_cpuidtmp0; -__vector int sleef_cpuidtmp1; +__vector float sleef_cpuid_VXE2; +__vector int sleef_cpuid_VXE1; void sleef_tryVXE2() { - sleef_cpuidtmp0 = vec_float(sleef_cpuidtmp1); + sleef_cpuid_VXE2 = vec_float(sleef_cpuid_VXE1); } diff --git a/src/quad/qdispscalar.c.org b/src/quad/qdispscalar.c.org index 0c153407..81b26c9e 100644 --- a/src/quad/qdispscalar.c.org +++ b/src/quad/qdispscalar.c.org @@ -15,8 +15,8 @@ #include "qdispatcher.h" -NOEXPORT Sleef_quad sleef_cpuidtmp0; -static void tryFMA() { sleef_cpuidtmp0 = Sleef_sinq1_u10purecfma(sleef_cpuidtmp0); } +NOEXPORT Sleef_quad sleef_cpuid_QUADFMA_0; +static void tryFMA() { sleef_cpuid_QUADFMA_0 = Sleef_sinq1_u10purecfma(sleef_cpuid_QUADFMA_0); } #define SUBST_IF_EXT1(funcExt1) if (cpuSupportsExt(tryFMA)) p = funcExt1; diff --git a/src/quad/qdispx2.c.org b/src/quad/qdispx2.c.org index 449df993..6e382951 100644 --- a/src/quad/qdispx2.c.org +++ b/src/quad/qdispx2.c.org @@ -15,20 +15,20 @@ #include "qdispatcher.h" -NOEXPORT Sleef_quadx2 sleef_cpuidtmp1; +NOEXPORT Sleef_quadx2 sleef_cpuid_EXT; #ifdef ENABLE_AVX2 -static void tryEXT1() { sleef_cpuidtmp1 = Sleef_sinq2_u10avx2128(sleef_cpuidtmp1); } +static void tryEXT1() { sleef_cpuid_EXT = Sleef_sinq2_u10avx2128(sleef_cpuid_EXT); } #define SUBST_IF_EXT1(funcExt1) if (cpuSupportsExt(tryEXT1)) p = funcExt1; #endif #ifdef ENABLE_VSX3 -static void tryEXT1() { sleef_cpuidtmp1 = Sleef_sinq2_u10vsx3(sleef_cpuidtmp1); } +static void tryEXT1() { sleef_cpuid_EXT = Sleef_sinq2_u10vsx3(sleef_cpuid_EXT); } #define SUBST_IF_EXT1(funcExt1) if (cpuSupportsExt(tryEXT1)) p = funcExt1; #endif #ifdef ENABLE_VXE2 -static void tryEXT1() { sleef_cpuidtmp1 = Sleef_sinq2_u10vxe2(sleef_cpuidtmp1); } +static void tryEXT1() { sleef_cpuid_EXT = Sleef_sinq2_u10vxe2(sleef_cpuid_EXT); } #define SUBST_IF_EXT1(funcExt1) if (cpuSupportsExt(tryEXT1)) p = funcExt1; #endif