Permalink
Browse files

Update test programs for PowerPC (GH #741)

  • Loading branch information...
noloader committed Nov 19, 2018
1 parent 2bb9f49 commit f8b1a997c55bf390e7511495b03dd20c90ca1133
Showing with 2 additions and 3 deletions.
  1. +1 −1 TestPrograms/test_ppc_aes.cxx
  2. +0 −1 TestPrograms/test_ppc_power7.cxx
  3. +1 −1 TestPrograms/test_ppc_power8.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);
@@ -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]);
@@ -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.