i386-common.c (OPTION_MASK_ISA_ADX_SET): New.
[gcc.git] / gcc / testsuite / gcc.target / i386 / adx-addcarryx64-1.c
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-madx -O2" } */
3 /* { dg-final { scan-assembler "adcx" } } */
4
5 #include <x86intrin.h>
6
7 volatile unsigned char c;
8 volatile unsigned long long x, y;
9 unsigned long long *sum;
10
11 void extern
12 adx_test (void)
13 {
14 c = _addcarryx_u64 (c, x, y, sum);
15 }