1 /* { dg-do run { target int128 } } */
2 /* { dg-options "-std=gnu99" { target c } } */
3 /* { dg-options "" { target c++ } } */
8 extern void abort (void);
10 extern "C" void abort (void);
13 #define MK_CONST128(A,B,C,D) \
14 ( (((unsigned __int128) (unsigned int) A) << 96) \
15 | (((unsigned __int128) (unsigned int) B) << 64) \
16 | (((unsigned __int128) (unsigned int) C) << 32) \
17 | ((unsigned __int128) (unsigned int) D) )
19 #define MK_CONST128_SIGNED(A,B,C,D) \
20 ((__int128) MK_CONST128(A, B, C, D))
28 q
= va_arg(va
, __int128
);
31 if (q
!= MK_CONST128_SIGNED (0xfeffffffU
, 2U, 3U, 4U))
37 __int128 q
= MK_CONST128_SIGNED (0xfeffffffU
, 2U, 3U, 4U);