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
2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
mips
/
branch-cost-2.c
blob
23f528ad63fd91b13f464b84e26081c4778ac718
1
/* { dg-options "-mbranch-cost=10 isa>=4 -O2" } */
2
NOMIPS16
int
3
foo
(
int
x
,
int
y
,
int
z
,
int
k
)
4
{
5
return
x
==
k
?
x
+
y
:
z
-
x
;
6
}
7
/* { dg-final { scan-assembler "\t(movz|movn)\t" } } */
8
/* { dg-final { scan-assembler-not "\t(bne|beq)\t" } } */