152
|
1 /* { dg-options "-Os -march=rv32imc -mabi=ilp32" } */
|
|
2
|
|
3 /* These stores cannot be compressed because x0 is not a compressed reg.
|
|
4 Therefore the shorten_memrefs pass should not attempt to rewrite them into a
|
|
5 compressible format. */
|
|
6
|
|
7 void
|
|
8 store1z (int *array)
|
|
9 {
|
|
10 array[200] = 0;
|
|
11 array[201] = 0;
|
|
12 array[202] = 0;
|
|
13 array[203] = 0;
|
|
14 }
|
|
15
|
|
16 void
|
|
17 store2z (long long *array)
|
|
18 {
|
|
19 array[200] = 0;
|
|
20 array[201] = 0;
|
|
21 array[202] = 0;
|
|
22 array[203] = 0;
|
|
23 }
|
|
24
|
|
25 /* { dg-final { scan-assembler-not "store1z:\n\taddi" } } */
|
|
26 /* { dg-final { scan-assembler-not "store2z:\n\taddi" } } */
|