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 19 20VECTOR_TESTS=vxeh2_vs 21VECTOR_TESTS+=vxeh2_vcvt 22VECTOR_TESTS+=vxeh2_vlstr 23$(VECTOR_TESTS): CFLAGS+=-march=z15 -O2 24 25TESTS+=$(if $(shell $(CC) -march=z15 -S -o /dev/null -xc /dev/null \ 26 >/dev/null 2>&1 && echo OK),$(VECTOR_TESTS)) 27 28ifneq ($(HAVE_GDB_BIN),) 29GDB_SCRIPT=$(SRC_PATH)/tests/guest-debug/run-test.py 30 31run-gdbstub-signals-s390x: signals-s390x 32 $(call run-test, $@, $(GDB_SCRIPT) \ 33 --gdb $(HAVE_GDB_BIN) \ 34 --qemu $(QEMU) --qargs "$(QEMU_OPTS)" \ 35 --bin $< --test $(S390X_SRC)/gdbstub/test-signals-s390x.py, \ 36 "mixing signals and debugging on s390x") 37 38EXTRA_RUNS += run-gdbstub-signals-s390x 39endif 40 41# MVX versions of sha512 42sha512-mvx: CFLAGS=-march=z13 -mvx -O3 43sha512-mvx: sha512.c 44 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS) 45 46TESTS+=sha512-mvx 47