Fix caxpy/zaxpy for big-endian
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Thu, 10 Jun 2021 09:15:48 +0000 (11:15 +0200)
committerGitHub <noreply@github.com>
Thu, 10 Jun 2021 09:15:48 +0000 (11:15 +0200)
kernel/power/KERNEL.PPCG4

index 54660b5..1bdd311 100644 (file)
@@ -15,8 +15,13 @@ ZASUMKERNEL  = zasum_ppc440.S
 
 SAXPYKERNEL    =  axpy_ppc440.S
 DAXPYKERNEL    =  axpy_ppc440.S
+ifneq ($(__BYTE_ORDER__),__ORDER_BIG_ENDIAN__)
 CAXPYKERNEL    = zaxpy_ppc440.S
 ZAXPYKERNEL    = zaxpy_ppc440.S
+else
+CAXPYKERNEL    = ../arm/zaxpy.c
+ZAXPYKERNEL    = ../arm/zaxpy.c
+endif
 
 SDOTKERNEL     =  dot_ppc440.S
 DDOTKERNEL     =  dot_ppc440.S