1S390X_SRC=$(SRC_PATH)/tests/tcg/s390x 2VPATH+=$(S390X_SRC) 3CFLAGS+=-march=zEC12 -m64 4TESTS+=hello-s390x 5TESTS+=csst 6TESTS+=ipm 7TESTS+=exrl-trt 8TESTS+=exrl-trtr 9TESTS+=pack 10TESTS+=mie3-compl 11TESTS+=mie3-mvcrl 12TESTS+=mie3-sel 13TESTS+=mvo 14TESTS+=mvc 15TESTS+=shift 16TESTS+=trap 17TESTS+=signals-s390x 18TESTS+=branch-relative-long 19TESTS+=noexec 20 21Z14_TESTS=vfminmax 22vfminmax: LDFLAGS+=-lm 23$(Z14_TESTS): CFLAGS+=-march=z14 -O2 24 25TESTS+=$(if $(shell $(CC) -march=z14 -S -o /dev/null -xc /dev/null \ 26 >/dev/null 2>&1 && echo OK),$(Z14_TESTS)) 27 28VECTOR_TESTS=vxeh2_vs 29VECTOR_TESTS+=vxeh2_vcvt 30VECTOR_TESTS+=vxeh2_vlstr 31$(VECTOR_TESTS): CFLAGS+=-march=z15 -O2 32 33TESTS+=$(if $(shell $(CC) -march=z15 -S -o /dev/null -xc /dev/null \ 34 >/dev/null 2>&1 && echo OK),$(VECTOR_TESTS)) 35 36ifneq ($(HAVE_GDB_BIN),) 37GDB_SCRIPT=$(SRC_PATH)/tests/guest-debug/run-test.py 38 39run-gdbstub-signals-s390x: signals-s390x 40 $(call run-test, $@, $(GDB_SCRIPT) \ 41 --gdb $(HAVE_GDB_BIN) \ 42 --qemu $(QEMU) --qargs "$(QEMU_OPTS)" \ 43 --bin $< --test $(S390X_SRC)/gdbstub/test-signals-s390x.py, \ 44 "mixing signals and debugging on s390x") 45 46EXTRA_RUNS += run-gdbstub-signals-s390x 47endif 48 49# MVX versions of sha512 50sha512-mvx: CFLAGS=-march=z13 -mvx -O3 51sha512-mvx: sha512.c 52 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS) 53 54TESTS+=sha512-mvx 55