(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
aarch64/
thunderxloadpair.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -mcpu=thunderx" } */
       3  
       4  struct ldp
       5  {
       6    long long c;
       7    int a, b;
       8  };
       9  
      10  
      11  int f(struct ldp *a)
      12  {
      13    return a->a + a->b;
      14  }
      15  
      16  
      17  /* We know the alignement of a->a to be 8 byte aligned so it is profitable
      18     to do ldp. */
      19  /* { dg-final { scan-assembler-times "ldp\tw\[0-9\]+, w\[0-9\]" 1 } } */
      20