Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / gcc / testsuite / gcc.target / i386 / adx-addcarryx32-3.c
1 /* { dg-do compile } */
2 /* { dg-options "-mno-adx -O2" } */
3 /* { dg-final { scan-assembler "adcl" } } */
4
5 #include <x86intrin.h>
6
7 volatile unsigned char c;
8 volatile unsigned int x, y;
9 unsigned int *sum;
10
11 void extern
12 adx_test (void)
13 {
14     c = _addcarryx_u32 (c, x, y, sum);
15 }