From fd8b666acfee5524a2d7c8b845a3782f6a89bec7 Mon Sep 17 00:00:00 2001 From: Stefan Schulze Frielinghaus Date: Tue, 8 Oct 2019 12:32:15 +0200 Subject: Implement s390x LLVM backend. This patch adds support for the s390x architecture for the LLVM code generator. The patch includes a register mapping of STG registers onto s390x machine registers which enables a registerised build. --- rts/ghc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rts/ghc.mk') diff --git a/rts/ghc.mk b/rts/ghc.mk index c07cfaec86..dca22fb733 100644 --- a/rts/ghc.mk +++ b/rts/ghc.mk @@ -55,7 +55,7 @@ ifneq "$(findstring $(TargetArch_CPP), i386 powerpc powerpc64)" "" rts_S_SRCS += rts/AdjustorAsm.S endif # this matches substrings of powerpc64le, including "powerpc" and "powerpc64" -ifneq "$(findstring $(TargetArch_CPP), powerpc64le)" "" +ifneq "$(findstring $(TargetArch_CPP), powerpc64le s390x)" "" # unregisterised builds use the mini interpreter ifneq "$(GhcUnregisterised)" "YES" rts_S_SRCS += rts/StgCRunAsm.S -- cgit v1.2.1