Enable Intel HRESET Instruction
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / hreset-1.c
blob573513f8c583b2905891e5b94f01bc52c843c925
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mhreset" } */
3 /* { dg-final { scan-assembler-times "eax" 1 } } */
4 /* { dg-final { scan-assembler-times "hreset\[ \\t\]+\[\$\]\?0" 1 } } */
6 #include <immintrin.h>
8 void foo(unsigned int eax)
10 _hreset (eax);