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

#include <x86intrin.h>

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