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

#include <x86intrin.h>

void extern
fxsave_test (void)
{
  char fxsave_region [512] __attribute__((aligned(16)));
  _fxrstor (fxsave_region);
}