1# SPDX-License-Identifier: GPL-2.0 2 3CFLAGS += -I../../../../../usr/include/ 4TEST_GEN_PROGS := sve-ptrace sve-probe-vls vec-syscfg 5TEST_PROGS_EXTENDED := fp-pidbench fpsimd-test fpsimd-stress \ 6 rdvl-sme rdvl-sve \ 7 sve-test sve-stress \ 8 ssve-test ssve-stress \ 9 za-test za-stress \ 10 vlset 11 12all: $(TEST_GEN_PROGS) $(TEST_PROGS_EXTENDED) 13 14fp-pidbench: fp-pidbench.S asm-utils.o 15 $(CC) -nostdlib $^ -o $@ 16fpsimd-test: fpsimd-test.o asm-utils.o 17 $(CC) -nostdlib $^ -o $@ 18rdvl-sme: rdvl-sme.o rdvl.o 19rdvl-sve: rdvl-sve.o rdvl.o 20sve-ptrace: sve-ptrace.o 21sve-probe-vls: sve-probe-vls.o rdvl.o 22sve-test: sve-test.o asm-utils.o 23 $(CC) -nostdlib $^ -o $@ 24ssve-test: sve-test.S asm-utils.o 25 $(CC) -DSSVE -nostdlib $^ -o $@ 26vec-syscfg: vec-syscfg.o rdvl.o 27vlset: vlset.o 28za-test: za-test.o asm-utils.o 29 $(CC) -nostdlib $^ -o $@ 30 31include ../../lib.mk 32