Fix syntax of endianness conditional and add gcc version check for workaround
This commit is contained in:
parent
616921fd91
commit
dc345d84df
|
@ -89,30 +89,52 @@ ZTRSMKERNEL_RT = ../generic/trsm_kernel_RT.c
|
||||||
#SMINKERNEL = ../arm/min.c
|
#SMINKERNEL = ../arm/min.c
|
||||||
#DMINKERNEL = ../arm/min.c
|
#DMINKERNEL = ../arm/min.c
|
||||||
#
|
#
|
||||||
ifneq ($(__BYTE_ORDER__),$(__ORDER_BIG_ENDIAN__))
|
ifneq ($(__BYTE_ORDER__),"__ORDER_BIG_ENDIAN__")
|
||||||
|
ifneq ($(GCCVERSIONGTEQ9),1)
|
||||||
ISAMAXKERNEL = isamax_power8.S
|
ISAMAXKERNEL = isamax_power8.S
|
||||||
else
|
else
|
||||||
ISAMAXKERNEL = isamax.c
|
ISAMAXKERNEL = isamax.c
|
||||||
endif
|
endif
|
||||||
|
else
|
||||||
|
ISAMAXKERNEL = isamax.c
|
||||||
|
endif
|
||||||
|
#
|
||||||
IDAMAXKERNEL = idamax.c
|
IDAMAXKERNEL = idamax.c
|
||||||
ifneq ($(__BYTE_ORDER__),$(__ORDER_BIG_ENDIAN__))
|
#
|
||||||
|
ifneq ($(__BYTE_ORDER__),"__ORDER_BIG_ENDIAN__")
|
||||||
|
ifneq ($(GCCVERSIONGTEQ9),1)
|
||||||
ICAMAXKERNEL = icamax_power8.S
|
ICAMAXKERNEL = icamax_power8.S
|
||||||
else
|
else
|
||||||
ICAMAXKERNEL = icamax.c
|
ICAMAXKERNEL = icamax.c
|
||||||
endif
|
endif
|
||||||
|
else
|
||||||
|
ICAMAXKERNEL = icamax.c
|
||||||
|
endif
|
||||||
|
#
|
||||||
IZAMAXKERNEL = izamax.c
|
IZAMAXKERNEL = izamax.c
|
||||||
#
|
#
|
||||||
ifneq ($(__BYTE_ORDER__),$(__ORDER_BIG_ENDIAN__))
|
ifneq ($(__BYTE_ORDER__),"__ORDER_BIG_ENDIAN__")
|
||||||
|
ifneq ($(GCCVERSIONGTEQ9),1)
|
||||||
ISAMINKERNEL = isamin_power8.S
|
ISAMINKERNEL = isamin_power8.S
|
||||||
else
|
else
|
||||||
ISAMINKERNEL = isamin.c
|
ISAMINKERNEL = isamin.c
|
||||||
endif
|
endif
|
||||||
|
else
|
||||||
|
ISAMINKERNEL = isamin.c
|
||||||
|
endif
|
||||||
|
#
|
||||||
IDAMINKERNEL = idamin.c
|
IDAMINKERNEL = idamin.c
|
||||||
ifneq ($(__BYTE_ORDER__),$(__ORDER_BIG_ENDIAN__))
|
#
|
||||||
|
ifneq ($(__BYTE_ORDER__),"__ORDER_BIG_ENDIAN__")
|
||||||
|
ifneq ($(GCCVERSIONGTEQ9),1)
|
||||||
ICAMINKERNEL = icamin_power8.S
|
ICAMINKERNEL = icamin_power8.S
|
||||||
else
|
else
|
||||||
ICAMINKERNEL = icamin.c
|
ICAMINKERNEL = icamin.c
|
||||||
endif
|
endif
|
||||||
|
else
|
||||||
|
ICAMINKERNEL = icamin.c
|
||||||
|
endif
|
||||||
|
#
|
||||||
IZAMINKERNEL = izamin.c
|
IZAMINKERNEL = izamin.c
|
||||||
#
|
#
|
||||||
#ISMAXKERNEL = ../arm/imax.c
|
#ISMAXKERNEL = ../arm/imax.c
|
||||||
|
@ -128,11 +150,16 @@ ZASUMKERNEL = zasum.c
|
||||||
#
|
#
|
||||||
SAXPYKERNEL = saxpy.c
|
SAXPYKERNEL = saxpy.c
|
||||||
DAXPYKERNEL = daxpy.c
|
DAXPYKERNEL = daxpy.c
|
||||||
ifneq ($(__BYTE_ORDER__),$(__ORDER_BIG_ENDIAN__))
|
ifneq ($(__BYTE_ORDER__),"__ORDER_BIG_ENDIAN__")
|
||||||
|
ifneq ($(GCCVERSIONGTEQ9),1)
|
||||||
CAXPYKERNEL = caxpy_power8.S
|
CAXPYKERNEL = caxpy_power8.S
|
||||||
else
|
else
|
||||||
CAXPYKERNEL = caxpy.c
|
CAXPYKERNEL = caxpy.c
|
||||||
endif
|
endif
|
||||||
|
else
|
||||||
|
CAXPYKERNEL = caxpy.c
|
||||||
|
endif
|
||||||
|
#
|
||||||
ZAXPYKERNEL = zaxpy.c
|
ZAXPYKERNEL = zaxpy.c
|
||||||
#
|
#
|
||||||
SCOPYKERNEL = scopy.c
|
SCOPYKERNEL = scopy.c
|
||||||
|
|
Loading…
Reference in New Issue