| 1 |
/* { dg-do compile { target mips*-*-* } } */ |
| 2 |
|
| 3 |
#include <stdio.h> |
| 4 |
register unsigned int cp0count asm ("$c0r1"); |
| 5 |
|
| 6 |
int __attribute__ ((nomips16)) |
| 7 |
main (int argc, char *argv[]) |
| 8 |
{ |
| 9 |
unsigned int d; |
| 10 |
|
| 11 |
d = cp0count + 3; |
| 12 |
printf ("%d\n", d); |
| 13 |
} |