4 #include "expression.h"
7 static void init_s390(const struct target
*self
)
9 intptr_ctype
= &int_ctype
;
10 uintptr_ctype
= &uint_ctype
;
12 fast16_ctype
= &int_ctype
;
13 ufast16_ctype
= &uint_ctype
;
14 fast32_ctype
= &int_ctype
;
15 ufast32_ctype
= &uint_ctype
;
18 static void predefine_s390(const struct target
*self
)
20 predefine("__s390__", 1, "1");
23 static const char *asm_constraint_s390(struct asm_operand
*op
, int c
, const char *str
)
26 case 'R': case 'S': case 'T':
33 const struct target target_s390
= {
40 .bits_in_longdouble
= 64,
41 .max_fp_alignment
= 8,
43 .target_64bit
= &target_s390x
,
46 .predefine
= predefine_s390
,
47 .asm_constraint
= asm_constraint_s390
,
51 static void predefine_s390x(const struct target
*self
)
53 predefine("__zarch__", 1, "1");
54 predefine("__s390x__", 1, "1");
59 const struct target target_s390x
= {
66 .bits_in_longdouble
= 64,
67 .max_fp_alignment
= 8,
69 .target_32bit
= &target_s390
,
71 .predefine
= predefine_s390x
,
72 .asm_constraint
= asm_constraint_s390
,