1  /* Check that loads/stores from/to volatile floating point mems utilize
       2     indexed addressing modes. */
       3  /* { dg-do compile { target { any_fpu } } }  */
       4  /* { dg-options "-O1" } */
       5  /* { dg-final { scan-assembler-times "@\\(r0," 2 } } */
       6  
       7  float
       8  test_00 (volatile float* x, unsigned int y)
       9  {
      10    return x[y];
      11  }
      12  
      13  void
      14  test_100 (volatile float* x, unsigned int y, float z)
      15  {
      16    x[y] = z;
      17  }