aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/target-s390.c
diff options
context:
space:
mode:
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-12-02 01:22:20 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-12-16 10:29:00 +0100
commitdd0012ff9766f81f877f4ec89957e9f22a320beb (patch)
treec8b4a8c54080054451434ab2f246b3a360ad22a0 /target-s390.c
parent17a0752e0c01e0b44c5a3f08dce8e8fbd21a0dee (diff)
downloadsparse-dd0012ff9766f81f877f4ec89957e9f22a320beb.tar.gz
arch: use arch_target for INT128's predefine
The predefine for INT128 is still done with the generic predefines but are arch-specific. So, set a new flag for each arch supporting int128 and use this to determine if the predefine must be issued or not. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'target-s390.c')
-rw-r--r--target-s390.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-s390.c b/target-s390.c
index 159a6b11..8fe7d936 100644
--- a/target-s390.c
+++ b/target-s390.c
@@ -37,6 +37,7 @@ const struct target target_s390x = {
.bitness = ARCH_LP64,
.big_endian = 1,
.unsigned_char = 1,
+ .has_int128 = 1,
.bits_in_longdouble = 64,
.max_fp_alignment = 8,