2 960416-1.c from the execute part of the gcc torture suite.
11 // TODO: Enable when sdcc can pass struct!
13 typedef unsigned long int st
;
14 typedef unsigned long long dt
;
44 ad = afh.s.h - afh.s.l; \
45 bd = bfh.s.l - bfh.s.h; \
51 lp.d = (dt) afh.s.l * bfh.s.l; \
52 hp.d = (dt) afh.s.h * bfh.s.h; \
55 hh.d = hp.d + hp.s.h + lp.s.h + dp.s.h; \
56 m.d = (dt) lp.s.h + hp.s.l + lp.s.l + dp.s.l; \
57 return hh.s.l + m.s.l; \
65 testTortureExecute (void)
71 if (x
.d
== 0x10000000e0000000ULL
72 && f_be ((t_be
) 0x100000000ULL
, (t_be
) 0x100000000ULL
) != -1)
74 if (x
.d
== 0xe000000010000000ULL
75 && f_le ((t_le
) 0x100000000ULL
, (t_le
) 0x100000000ULL
) != -1)