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
Remove not needed __builtin_expect due to malloc predictor.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
mips
/
branch-6.c
blob
4262ba7e8499f5f194a34c3476a97f2106b1be81
1
/* { dg-options "-mshared -mabi=64" } */
2
/* { dg-final { scan-assembler-not "(\\\$25|\\\$28|%gp_rel|%got)" } } */
3
/* { dg-final { scan-assembler-not "\tjrc?\t\\\$1\n" } } */
4
5
#include
"branch-helper.h"
6
7
NOCOMPRESSION
void
8
foo
(
volatile
int
*
x
)
9
{
10
if
(
__builtin_expect
(*
x
==
0
,
1
))
11
OCCUPY_0x1fff8
;
12
}