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