| S390X_SRC=$(SRC_PATH)/tests/tcg/s390x |
| VPATH+=$(S390X_SRC) |
| CFLAGS+=-march=zEC12 -m64 |
| TESTS+=hello-s390x |
| TESTS+=csst |
| TESTS+=ipm |
| TESTS+=exrl-trt |
| TESTS+=exrl-trtr |
| TESTS+=pack |
| TESTS+=mie3-compl |
| TESTS+=mie3-mvcrl |
| TESTS+=mie3-sel |
| TESTS+=mvo |
| TESTS+=mvc |
| TESTS+=shift |
| TESTS+=trap |
| TESTS+=signals-s390x |
| TESTS+=branch-relative-long |
| |
| ifneq ($(HAVE_GDB_BIN),) |
| GDB_SCRIPT=$(SRC_PATH)/tests/guest-debug/run-test.py |
| |
| run-gdbstub-signals-s390x: signals-s390x |
| $(call run-test, $@, $(GDB_SCRIPT) \ |
| --gdb $(HAVE_GDB_BIN) \ |
| --qemu $(QEMU) --qargs "$(QEMU_OPTS)" \ |
| --bin $< --test $(S390X_SRC)/gdbstub/test-signals-s390x.py, \ |
| "mixing signals and debugging on s390x") |
| |
| EXTRA_RUNS += run-gdbstub-signals-s390x |
| endif |
| |
| # MVX versions of sha512 |
| sha512-mvx: CFLAGS=-march=z13 -mvx -O3 |
| sha512-mvx: sha512.c |
| $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS) |
| |
| TESTS+=sha512-mvx |