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

#include <x86intrin.h>

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