gcc/testsuite/gcc.target/i386/fxrstor64-1.c
raw| 1 | /* { dg-do compile { target { ! ia32 } } } */ |
| 2 | /* { dg-options "-mfxsr -O2" } */ |
| 3 | /* { dg-final { scan-assembler "fxrstor64\[ \\t\]" } } */ |
| 4 | |
| 5 | #include <x86intrin.h> |
| 6 | |
| 7 | void extern |
| 8 | fxsave_test (void) |
| 9 | { |
| 10 | char fxsave_region [512] __attribute__((aligned(16))); |
| 11 | _fxrstor64 (fxsave_region); |
| 12 | } |