Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update test programs for PowerPC (GH #741)
  • Loading branch information
noloader committed Nov 19, 2018
1 parent 2bb9f49 commit f8b1a99
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion TestPrograms/test_ppc_aes.cxx
@@ -1,7 +1,7 @@
#include <altivec.h>
int main(int argc, char* argv[])
{
#if defined(__ibmxl__)
#if defined(__ibmxl__) || (defined(_AIX) && defined(__xlC__))
__vector unsigned char x;
x=__vcipher(x,x);
x=__vcipherlast(x,x);
Expand Down
1 change: 0 additions & 1 deletion TestPrograms/test_ppc_power7.cxx
@@ -1,7 +1,6 @@
#include <altivec.h>
int main(int argc, char* argv[])
{
__vector unsigned int z;
#if defined(__xlc__) || defined(__xlC__) || defined(__clang__)
__vector unsigned char x;
x=vec_xl(0, (unsigned char*)argv[0]);
Expand Down
2 changes: 1 addition & 1 deletion TestPrograms/test_ppc_power8.cxx
@@ -1,7 +1,7 @@
#include <altivec.h>
int main(int argc, char* argv[])
{
__vector unsigned long long z;
__vector unsigned long long z = {1, 2};
z=vec_add(z,z);
return 0;
}

0 comments on commit f8b1a99

Please sign in to comment.