projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 4.7.2
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
gcc.target
/
mips
/
movcc-2.c
1
/* { dg-do compile } */
2
/* { dg-options "-O2 isa>=4" } */
3
/* { dg-final { scan-assembler "movz" } } */
4
/* { dg-final { scan-assembler "movn" } } */
5
6
void ext_long (long);
7
8
NOMIPS16 long
9
sub4 (long i, long j, long k)
10
{
11
ext_long (k ? i : j);
12
}
13
14
NOMIPS16 long
15
sub5 (long i, long j, int k)
16
{
17
ext_long (!k ? i : j);
18
}