(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
pru/
loop-hi-2.c
       1  /* Test LOOP recognition - short ints*/
       2  
       3  /* { dg-options "-O2 -mloop" } */
       4  
       5  /* -O2 in the options is significant.  Without it do-loop will not be
       6     run.  */
       7  
       8  unsigned int
       9  test_loop_short (int x, short n)
      10  {
      11    int i;
      12  
      13    /* { dg-final { scan-assembler "loop\\t.L\[0-9\]*, r\[0-9w.\]*" } } */
      14    for (i = 0; i < n; i++)
      15      x <<= 3;
      16    return x;
      17  }