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
* g++.dg/other/i386-2.C (dg-options): Add -mavx512pf.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
cold-attribute-2.c
blob
4b61b9d56d8f01d1aa675d8f5d5ddd0d7f7420c0
1
/* { dg-do compile } */
2
/* { dg-options "-O2 --param=builtin-expect-probability=100" } */
3
#include <string.h>
4
t
(
int
c
)
5
{
6
if
(
__builtin_expect
(
c
,
0
))
7
{
8
cold_hint
();
9
return
c
*
11
;
10
}
11
return
c
;
12
}
13
14
/* { dg-final { scan-assembler "imul" } } */