Use gather loads for strided accesses
[official-gcc.git] / gcc / testsuite / gcc.target / arc / cmem-2.c
blob39bfb2885c780f47ae1546da7a291553eacb478f
1 /* { dg-do compile } */
2 /* { dg-skip-if "" { ! { clmcpu } } } */
3 /* { dg-options "-mcpu=nps400 -mcmem" } */
5 #define CMEM_SECTION_ATTR __attribute__ ((section (".cmem")));
7 #include "cmem-ld.inc"
9 /* { dg-final { scan-assembler "xld " } } */
10 /* { dg-final { scan-assembler "xldw " } } */
11 /* { dg-final { scan-assembler "xldb " } } */