Closed jkressel closed 1 year ago
Hi. Just to clarify, is VQRDMLAH
supposed to be built for AArch32 and all the other files for AArch64? I wrote a makefile on that assumption, please review it:
CFLAGS=-march=armv8.2-a
ARCH=$(shell $(CC) -dumpmachine | awk -F '-' '{print $$1}')
ifeq ($(ARCH),aarch64)
aarch64: CASPx CASx LDADDx LDCLRx LDEORx LDLARx LDSETx LDSMAXx LDSMINx LDUMAXx LDUMINx SQRDMLxH STADDx STCLRx STEORx STLLRx STSETx STSMAXx STSMINx STUMAXx STUMINx SWPx
endif
ifeq ($(findstring arm, $(ARCH)), arm)
CFLAGS+=-mthumb -mfpu=neon-fp-armv8
aarch32: VQRDMLAH
endif
clean:
rm -f CASPx CASx LDADDx LDCLRx LDEORx LDLARx LDSETx LDSMAXx LDSMINx LDUMAXx LDUMINx SQRDMLxH STADDx STCLRx STEORx STLLRx STSETx STSMAXx STSMINx STUMAXx STUMINx SWPx VQRDMLAH
Also, any chance you could squash the commits?
@lgeek that's correct :) I've squashed the commits.
Tests for new ARM v8.1 instructions