1 /* PR tree-optimization/113988 */
2 /* { dg-do compile { target bitint } } */
3 /* { dg-options "-O2" } */
4 /* { dg-additional-options "-mavx512f" { target i?86-*-* x86_64-*-* } } */
8 #if __BITINT_MAXWIDTH__ >= 256
10 foo (void *p
, _BitInt(256) x
)
12 __builtin_memcpy (p
, &x
, sizeof x
);
16 bar (void *p
, _BitInt(256) x
)
18 _BitInt(246) y
= x
+ 1;
19 __builtin_memcpy (p
, &y
, sizeof y
);
24 #if __BITINT_MAXWIDTH__ >= 512
26 baz (void *p
, _BitInt(512) x
)
28 __builtin_memcpy (p
, &x
, sizeof x
);
32 qux (void *p
, _BitInt(512) x
)
34 _BitInt(512) y
= x
+ 1;
35 __builtin_memcpy (p
, &y
, sizeof y
);