aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/mips/set-fcsr-1.c
blob: 0237272cfc371116c95a7d18211c03cff48cedca (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-options "-mhard-float" } */
/* { dg-skip-if "requiring \$4 is a code-quality test" { *-*-* } { "-O0" } { "" } } */

NOMIPS16 void
foo (unsigned int x)
{
  __builtin_mips_set_fcsr (x);
}

/* { dg-final { scan-assembler "ctc1\t\\\$4,\\\$31" } } */