repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Enable Intel HRESET Instruction
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
hreset-1.c
blob
573513f8c583b2905891e5b94f01bc52c843c925
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
}