modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/mipscop-2.c (about)

     1  /* { dg-do compile { target mips*-*-* } } */
     2  
     3  register unsigned int c3r1 asm ("$c3r1");
     4  
     5  extern unsigned int b, c;
     6  
     7  void __attribute__ ((nomips16))
     8  foo ()
     9  {
    10    unsigned int a, d;
    11  
    12    c3r1 = a;
    13    b = c3r1;
    14  
    15    c3r1 = c;
    16    d = c3r1;
    17    printf ("%d\n", d);
    18  }