4 #include "expression.h"
7 static void predefine_s390(const struct target
*self
)
9 predefine("__s390__", 1, "1");
12 static const char *asm_constraint_s390(struct asm_operand
*op
, int c
, const char *str
)
15 case 'R': case 'S': case 'T':
22 const struct target target_s390
= {
29 .bits_in_longdouble
= 64,
30 .max_fp_alignment
= 8,
32 .target_64bit
= &target_s390x
,
34 .predefine
= predefine_s390
,
35 .asm_constraint
= asm_constraint_s390
,
39 static void predefine_s390x(const struct target
*self
)
41 predefine("__zarch__", 1, "1");
42 predefine("__s390x__", 1, "1");
47 const struct target target_s390x
= {
54 .bits_in_longdouble
= 64,
55 .max_fp_alignment
= 8,
57 .target_32bit
= &target_s390
,
59 .predefine
= predefine_s390x
,
60 .asm_constraint
= asm_constraint_s390
,