aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/xsaveopt64-1.c
blob: f7864fe39999ccc3c23b29f7188fbaa0a5000d5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile { target { ! ia32 } } } */
/* { dg-options "-mxsaveopt -O2" } */
/* { dg-final { scan-assembler "xsaveopt64\[ \\t\]" } } */

#include <x86intrin.h>

void extern
xsave_test (void)
{
  char xsaveopt_region [512] __attribute__((aligned(64)));
  _xsaveopt64 (xsaveopt_region, ((long long) 0xA0000000F));
}