Merge pull request #2294 from martin-frbg/ios-cleanup
Remove obsolete workarounds for IOS on ARMV8
This commit is contained in:
commit
9955f0996f
|
@ -91,12 +91,10 @@ IDAMAXKERNEL = iamax.S
|
||||||
ICAMAXKERNEL = izamax.S
|
ICAMAXKERNEL = izamax.S
|
||||||
IZAMAXKERNEL = izamax.S
|
IZAMAXKERNEL = izamax.S
|
||||||
|
|
||||||
ifneq ($(OS_DARWIN)$(CROSS),11)
|
|
||||||
SNRM2KERNEL = nrm2.S
|
SNRM2KERNEL = nrm2.S
|
||||||
DNRM2KERNEL = nrm2.S
|
DNRM2KERNEL = nrm2.S
|
||||||
CNRM2KERNEL = znrm2.S
|
CNRM2KERNEL = znrm2.S
|
||||||
ZNRM2KERNEL = znrm2.S
|
ZNRM2KERNEL = znrm2.S
|
||||||
endif
|
|
||||||
|
|
||||||
DDOTKERNEL = dot.S
|
DDOTKERNEL = dot.S
|
||||||
SDOTKERNEL = dot.S
|
SDOTKERNEL = dot.S
|
||||||
|
@ -104,38 +102,6 @@ CDOTKERNEL = zdot.S
|
||||||
ZDOTKERNEL = zdot.S
|
ZDOTKERNEL = zdot.S
|
||||||
DSDOTKERNEL = dot.S
|
DSDOTKERNEL = dot.S
|
||||||
|
|
||||||
ifeq ($(OS_DARWIN)$(CROSS),11)
|
|
||||||
|
|
||||||
STRMMKERNEL = ../generic/trmmkernel_2x2.c
|
|
||||||
DTRMMKERNEL = ../generic/trmmkernel_2x2.c
|
|
||||||
CTRMMKERNEL = ../generic/ztrmmkernel_2x2.c
|
|
||||||
ZTRMMKERNEL = ../generic/ztrmmkernel_2x2.c
|
|
||||||
|
|
||||||
SGEMMKERNEL = ../generic/gemmkernel_2x2.c
|
|
||||||
SGEMMONCOPY = ../generic/gemm_ncopy_2.c
|
|
||||||
SGEMMOTCOPY = ../generic/gemm_tcopy_2.c
|
|
||||||
SGEMMONCOPYOBJ = sgemm_oncopy$(TSUFFIX).$(SUFFIX)
|
|
||||||
SGEMMOTCOPYOBJ = sgemm_otcopy$(TSUFFIX).$(SUFFIX)
|
|
||||||
|
|
||||||
DGEMMKERNEL = ../generic/gemmkernel_2x2.c
|
|
||||||
DGEMMONCOPY = ../generic/gemm_ncopy_2.c
|
|
||||||
DGEMMOTCOPY = ../generic/gemm_tcopy_2.c
|
|
||||||
DGEMMONCOPYOBJ = dgemm_oncopy$(TSUFFIX).$(SUFFIX)
|
|
||||||
DGEMMOTCOPYOBJ = dgemm_otcopy$(TSUFFIX).$(SUFFIX)
|
|
||||||
|
|
||||||
CGEMMKERNEL = ../generic/zgemmkernel_2x2.c
|
|
||||||
CGEMMONCOPY = ../generic/zgemm_ncopy_2.c
|
|
||||||
CGEMMOTCOPY = ../generic/zgemm_tcopy_2.c
|
|
||||||
CGEMMONCOPYOBJ = cgemm_oncopy$(TSUFFIX).$(SUFFIX)
|
|
||||||
CGEMMOTCOPYOBJ = cgemm_otcopy$(TSUFFIX).$(SUFFIX)
|
|
||||||
|
|
||||||
ZGEMMKERNEL = ../generic/zgemmkernel_2x2.c
|
|
||||||
ZGEMMONCOPY = ../generic/zgemm_ncopy_2.c
|
|
||||||
ZGEMMOTCOPY = ../generic/zgemm_tcopy_2.c
|
|
||||||
ZGEMMONCOPYOBJ = zgemm_oncopy$(TSUFFIX).$(SUFFIX)
|
|
||||||
ZGEMMOTCOPYOBJ = zgemm_otcopy$(TSUFFIX).$(SUFFIX)
|
|
||||||
|
|
||||||
else
|
|
||||||
SGEMMKERNEL = sgemm_kernel_$(SGEMM_UNROLL_M)x$(SGEMM_UNROLL_N).S
|
SGEMMKERNEL = sgemm_kernel_$(SGEMM_UNROLL_M)x$(SGEMM_UNROLL_N).S
|
||||||
STRMMKERNEL = strmm_kernel_$(SGEMM_UNROLL_M)x$(SGEMM_UNROLL_N).S
|
STRMMKERNEL = strmm_kernel_$(SGEMM_UNROLL_M)x$(SGEMM_UNROLL_N).S
|
||||||
ifneq ($(SGEMM_UNROLL_M), $(SGEMM_UNROLL_N))
|
ifneq ($(SGEMM_UNROLL_M), $(SGEMM_UNROLL_N))
|
||||||
|
@ -202,5 +168,3 @@ ZGEMMONCOPY = ../generic/zgemm_ncopy_$(ZGEMM_UNROLL_N).c
|
||||||
ZGEMMOTCOPY = ../generic/zgemm_tcopy_$(ZGEMM_UNROLL_N).c
|
ZGEMMOTCOPY = ../generic/zgemm_tcopy_$(ZGEMM_UNROLL_N).c
|
||||||
ZGEMMONCOPYOBJ = zgemm_oncopy$(TSUFFIX).$(SUFFIX)
|
ZGEMMONCOPYOBJ = zgemm_oncopy$(TSUFFIX).$(SUFFIX)
|
||||||
ZGEMMOTCOPYOBJ = zgemm_otcopy$(TSUFFIX).$(SUFFIX)
|
ZGEMMOTCOPYOBJ = zgemm_otcopy$(TSUFFIX).$(SUFFIX)
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
34
param.h
34
param.h
|
@ -2588,38 +2588,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#define SYMV_P 16
|
#define SYMV_P 16
|
||||||
|
|
||||||
// Darwin / Cross
|
|
||||||
#if defined(OS_DARWIN) && defined(CROSS)
|
|
||||||
|
|
||||||
#define SGEMM_DEFAULT_UNROLL_M 2
|
|
||||||
#define SGEMM_DEFAULT_UNROLL_N 2
|
|
||||||
|
|
||||||
#define DGEMM_DEFAULT_UNROLL_M 2
|
|
||||||
#define DGEMM_DEFAULT_UNROLL_N 2
|
|
||||||
|
|
||||||
#define CGEMM_DEFAULT_UNROLL_M 2
|
|
||||||
#define CGEMM_DEFAULT_UNROLL_N 2
|
|
||||||
|
|
||||||
#define ZGEMM_DEFAULT_UNROLL_M 2
|
|
||||||
#define ZGEMM_DEFAULT_UNROLL_N 2
|
|
||||||
|
|
||||||
#define SGEMM_DEFAULT_P 128
|
|
||||||
#define DGEMM_DEFAULT_P 128
|
|
||||||
#define CGEMM_DEFAULT_P 96
|
|
||||||
#define ZGEMM_DEFAULT_P 64
|
|
||||||
|
|
||||||
#define SGEMM_DEFAULT_Q 240
|
|
||||||
#define DGEMM_DEFAULT_Q 120
|
|
||||||
#define CGEMM_DEFAULT_Q 120
|
|
||||||
#define ZGEMM_DEFAULT_Q 120
|
|
||||||
|
|
||||||
#define SGEMM_DEFAULT_R 12288
|
|
||||||
#define DGEMM_DEFAULT_R 8192
|
|
||||||
#define CGEMM_DEFAULT_R 4096
|
|
||||||
#define ZGEMM_DEFAULT_R 4096
|
|
||||||
|
|
||||||
#else // Linux / Native
|
|
||||||
|
|
||||||
#if defined(CORTEXA53) || defined(CORTEXA57) || \
|
#if defined(CORTEXA53) || defined(CORTEXA57) || \
|
||||||
defined(CORTEXA72) || defined(CORTEXA73) || \
|
defined(CORTEXA72) || defined(CORTEXA73) || \
|
||||||
defined(FALKOR) || defined(TSV110)
|
defined(FALKOR) || defined(TSV110)
|
||||||
|
@ -2755,8 +2723,6 @@ is a big desktop or server with abundant cache rather than a phone or embedded d
|
||||||
|
|
||||||
#endif // Cores
|
#endif // Cores
|
||||||
|
|
||||||
#endif // Linux / Darwin
|
|
||||||
|
|
||||||
#endif // ARMv8
|
#endif // ARMv8
|
||||||
|
|
||||||
#if defined(ARMV5)
|
#if defined(ARMV5)
|
||||||
|
|
Loading…
Reference in New Issue