-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename some global variables to avoid clashes (#499)
This is a follow up from #454.
- Loading branch information
1 parent
ba403c0
commit 132d0ba
Showing
5 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#include <altivec.h> | ||
|
||
__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); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#include <vecintrin.h> | ||
|
||
__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); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters