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
Merge -r 127928:132243 from trunk
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
mipscop-1.c
blob
8a40ba1c6b7e68c36ab6df842d64b832790f4722
1
/* { dg-do compile { target mips*-*-* } } */
2
3
register
unsigned int
cp0count
asm
(
"$c0r1"
);
4
5
int
__attribute__
((
nomips16
))
6
main
(
int
argc
,
char
*
argv
[])
7
{
8
unsigned int
d
;
9
10
d
=
cp0count
+
3
;
11
printf
(
"%d
\n
"
,
d
);
12
}