From: Kavana Bhat Date: Fri, 6 Dec 2019 10:33:32 +0000 (-0600) Subject: AIX changes for Power8 X-Git-Tag: upstream/0.3.21~30^2~33^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6baa9b07d7e88f93ef42db4e96fa3d2be035c3d4;p=platform%2Fupstream%2Fopenblas.git AIX changes for Power8 --- diff --git a/common_power.h b/common_power.h index 76b9f0f..9df3982 100644 --- a/common_power.h +++ b/common_power.h @@ -60,10 +60,10 @@ #define XXSWAPD(T,A) xxswapd T, A #define XVMOVDP(T,A) xvmovdp T, A -#define XXSPLTD_S(T,A,z) "xxspltd T, A, z \n\t" -#define XXMRGHD_S(T,A,B) "xxmrghd T, A, B \n\t" -#define XXMRGLD_S(T,A,B) "xxmrgld T, A, B \n\t" -#define XXSWAPD_S(T,A) "xxswapd T, A" +#define XXSPLTD_S(T,A,z) "xxspltd " str(T) ", " str(A) ", " str(z)" \n\t" +#define XXMRGHD_S(T,A,B) "xxmrghd " str(T) ", " str(A) ", " str(B)" \n\t" +#define XXMRGLD_S(T,A,B) "xxmrgld " str(T) ", " str(A) ", " str(B)" \n\t" +#define XXSWAPD_S(T,A) "xxswapd " str(T) ", " str(A) " \n\t" #endif diff --git a/kernel/Makefile.L3 b/kernel/Makefile.L3 index 4decfbd..c36a44f 100644 --- a/kernel/Makefile.L3 +++ b/kernel/Makefile.L3 @@ -1098,7 +1098,7 @@ ifeq ($(OS), AIX) $(CC) -c $(CFLAGS) -DTRSMKERNEL -UCOMPLEX -DDOUBLE -UUPPER -DLT -UCONJ dtrsm_kernel_lt_nomacros.s -o $@ rm dtrsm_kernel_lt.s dtrsm_kernel_lt_nomacros.s else - $(CC) $(CFLAGS) -DTRSMKERNEL -UCOMPLEX -DDOUBLE -UUPPER -DLT -UCONJ $< -o $@ + $(CC) -c $(CFLAGS) -DTRSMKERNEL -UCOMPLEX -DDOUBLE -UUPPER -DLT -UCONJ $< -o $@ endif $(KDIR)dtrsm_kernel_RN$(TSUFFIX).$(SUFFIX) : $(KERNELDIR)/$(DTRSMKERNEL_RN) $(DTRSMDEPEND)