diff options
author | Stefan Schulze Frielinghaus <stefansf@linux.ibm.com> | 2019-10-08 12:32:15 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-10-22 02:39:03 -0400 |
commit | fd8b666acfee5524a2d7c8b845a3782f6a89bec7 (patch) | |
tree | 4ce0d732ef341bcffa721f6d25f2cf4dcd476fd8 /rts/Capability.h | |
parent | aa31ceaf7568802590f73a740ffbc8b800096342 (diff) | |
download | haskell-fd8b666acfee5524a2d7c8b845a3782f6a89bec7.tar.gz |
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.
Diffstat (limited to 'rts/Capability.h')
-rw-r--r-- | rts/Capability.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rts/Capability.h b/rts/Capability.h index 2a5f127793..0833006b0c 100644 --- a/rts/Capability.h +++ b/rts/Capability.h @@ -160,7 +160,9 @@ struct Capability_ { } // typedef Capability is defined in RtsAPI.h // We never want a Capability to overlap a cache line with anything // else, so round it up to a cache line size: -#if !defined(mingw32_HOST_OS) +#if defined(s390x_HOST_ARCH) + ATTRIBUTE_ALIGNED(256) +#elif !defined(mingw32_HOST_OS) ATTRIBUTE_ALIGNED(64) #endif ; |