1 S390X_SRC=$(SRC_PATH)/tests/tcg/s390x
3 CFLAGS+=-march=zEC12 -m64
5 config-cc.mak: Makefile
7 $(call cc-option,-march=z14, CROSS_CC_HAS_Z14); \
8 $(call cc-option,-march=z15, CROSS_CC_HAS_Z15)) 3> config-cc.mak
25 TESTS+=branch-relative-long
32 cdsg: CFLAGS+=-pthread
33 cdsg: LDFLAGS+=-pthread
36 $(Z13_TESTS): CFLAGS+=-march=z13 -O2
39 ifneq ($(CROSS_CC_HAS_Z14),)
41 vfminmax: LDFLAGS+=-lm
42 $(Z14_TESTS): CFLAGS+=-march=z14 -O2
46 ifneq ($(CROSS_CC_HAS_Z15),)
49 Z15_TESTS+=vxeh2_vlstr
50 $(Z15_TESTS): CFLAGS+=-march=z15 -O2
54 ifneq ($(HAVE_GDB_BIN),)
55 GDB_SCRIPT=$(SRC_PATH)/tests/guest-debug/run-test.py
57 run-gdbstub-signals-s390x: signals-s390x
58 $(call run-test, $@, $(GDB_SCRIPT) \
59 --gdb $(HAVE_GDB_BIN) \
60 --qemu $(QEMU) --qargs "$(QEMU_OPTS)" \
61 --bin $< --test $(S390X_SRC)/gdbstub/test-signals-s390x.py, \
62 mixing signals and debugging)
64 EXTRA_RUNS += run-gdbstub-signals-s390x
67 # MVX versions of sha512
68 sha512-mvx: CFLAGS=-march=z13 -mvx -O3
70 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS)