PR target/80969 - Fix ICE with -mabi=ms -mavx512f, reduce wasted space when realignin...
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr67317-1.c
blob7db4e5f31a778031c77fdb321b64fefba3ea944a
1 /* PR target/67317 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 typedef unsigned int u32;
7 u32 testcarry_u32 (u32 a, u32 b, u32 c, u32 d)
9 u32 result0, result1;
11 __builtin_ia32_addcarryx_u32
12 (__builtin_ia32_addcarryx_u32 (0, a, c, &result0), b, d, &result1);
14 return result0 ^ result1;
17 /* { dg-final { scan-assembler-not "addb" } } */
18 /* { dg-final { scan-assembler-not "setn?c" } } */