1 /* { dg-do compile } */
2 /* { dg-options "-mxsaveopt -O2" } */
3 /* { dg-final { scan-assembler "xsaveopt\[ \\t\]" } } */
4 
5 #include <x86intrin.h>
6 
7 void extern
xsave_test(void)8 xsave_test (void)
9 {
10   char xsaveopt_region [512] __attribute__((aligned(64)));
11   _xsaveopt (xsaveopt_region, ((long long) 0xA0000000F));
12 }
13