| 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 } } */ |
| 5 |
|
| 6 |
#include <immintrin.h> |
| 7 |
|
| 8 |
void foo(unsigned int eax) |
| 9 |
{ |
| 10 |
_hreset (eax); |
| 11 |
} |