(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
microblaze/
others/
sdata_var6.c
       1  /* { dg-options "-mxl-gp-opt -G 16 -fno-pic" } */
       2  struct test_s {
       3      int a;
       4      int b;
       5      int c;
       6      int d;
       7  };
       8  
       9  /* { dg-final { scan-assembler "\.sdata2" } } */
      10  const struct test_s global1 = { 1, 2, 3, 4};
      11  extern const struct test_s global2;
      12  
      13  int testfunc ()
      14  {
      15  /* { dg-final { scan-assembler "\lwi\tr(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),r2" } } */
      16      return global2.a + global1.a;
      17  }