Lines Matching refs:SI
1 ; RUN: llc -march=amdgcn -verify-machineinstrs< %s | FileCheck -check-prefixes=SI,MUBUF,ALIGNED %s
2 …=+unaligned-access-mode -verify-machineinstrs< %s | FileCheck -check-prefixes=SI,MUBUF,UNALIGNED %s
3 …a -mattr=-flat-for-global -verify-machineinstrs< %s | FileCheck -check-prefixes=SI,MUBUF,ALIGNED %s
4 …r=+enable-flat-scratch -verify-machineinstrs < %s | FileCheck -check-prefixes=SI,FLATSCR,ALIGNED %s
6 ; SI-LABEL: {{^}}local_unaligned_load_store_i16:
7 ; SI: ds_read_u8
8 ; SI: ds_read_u8
9 ; SI: ds_write_b8
10 ; SI: ds_write_b8
11 ; SI: s_endpgm
18 ; SI-LABEL: {{^}}global_unaligned_load_store_i16:
26 ; SI: s_endpgm
33 ; SI-LABEL: {{^}}local_unaligned_load_store_i32:
35 ; SI: ds_read_u8
36 ; SI: ds_read_u8
37 ; SI: ds_read_u8
38 ; SI: ds_read_u8
39 ; SI-NOT: v_or
40 ; SI-NOT: v_lshl
41 ; SI: ds_write_b8
42 ; SI: ds_write_b8
43 ; SI: ds_write_b8
44 ; SI: ds_write_b8
45 ; SI: s_endpgm
52 ; SI-LABEL: {{^}}global_unaligned_load_store_i32:
70 ; SI-LABEL: {{^}}global_align2_load_store_i32:
95 ; SI-LABEL: {{^}}local_unaligned_load_store_i64:
96 ; SI: ds_read_u8
97 ; SI: ds_read_u8
98 ; SI: ds_read_u8
99 ; SI: ds_read_u8
100 ; SI: ds_read_u8
101 ; SI: ds_read_u8
102 ; SI: ds_read_u8
103 ; SI: ds_read_u8
105 ; SI-NOT: v_or_b32
106 ; SI-NOT: v_lshl
107 ; SI: ds_write_b8
108 ; SI-NOT: v_or_b32
109 ; SI-NOT: v_lshl
111 ; SI: ds_write_b8
112 ; SI-NOT: v_or_b32
113 ; SI-NOT: v_lshl
115 ; SI: ds_write_b8
116 ; SI-NOT: v_or_b32
117 ; SI-NOT: v_lshl
119 ; SI: ds_write_b8
120 ; SI-NOT: v_or_b32
121 ; SI-NOT: v_lshl
123 ; SI: ds_write_b8
124 ; SI-NOT: v_or_b32
125 ; SI-NOT: v_lshl
127 ; SI: ds_write_b8
128 ; SI-NOT: v_or_b32
129 ; SI-NOT: v_lshl
131 ; SI: ds_write_b8
132 ; SI-NOT: v_or_b32
133 ; SI-NOT: v_lshl
134 ; SI: ds_write_b8
135 ; SI: s_endpgm
142 ; SI-LABEL: {{^}}local_unaligned_load_store_v2i32:
143 ; SI: ds_read_u8
144 ; SI: ds_read_u8
145 ; SI: ds_read_u8
146 ; SI: ds_read_u8
147 ; SI: ds_read_u8
148 ; SI: ds_read_u8
149 ; SI: ds_read_u8
150 ; SI: ds_read_u8
152 ; SI-NOT: v_or_b32
153 ; SI-NOT: v_lshl
154 ; SI: ds_write_b8
155 ; SI-NOT: v_or_b32
156 ; SI-NOT: v_lshl
158 ; SI: ds_write_b8
159 ; SI-NOT: v_or_b32
160 ; SI-NOT: v_lshl
162 ; SI: ds_write_b8
163 ; SI-NOT: v_or_b32
164 ; SI-NOT: v_lshl
166 ; SI: ds_write_b8
167 ; SI-NOT: v_or_b32
168 ; SI-NOT: v_lshl
170 ; SI: ds_write_b8
171 ; SI-NOT: v_or_b32
172 ; SI-NOT: v_lshl
174 ; SI: ds_write_b8
175 ; SI-NOT: v_or_b32
176 ; SI-NOT: v_lshl
178 ; SI: ds_write_b8
179 ; SI-NOT: v_or_b32
180 ; SI-NOT: v_lshl
181 ; SI: ds_write_b8
182 ; SI: s_endpgm
189 ; SI-LABEL: {{^}}global_align2_load_store_i64:
219 ; SI-LABEL: {{^}}unaligned_load_store_i64_global:
296 ; SI-LABEL: {{^}}global_unaligned_load_store_v4i32
413 ; SI-LABEL: {{^}}constant_unaligned_load_i32:
421 ; SI: buffer_store_dword
428 ; SI-LABEL: {{^}}constant_align2_load_i32:
440 ; SI-LABEL: {{^}}constant_align2_load_i64:
454 ; SI-LABEL: {{^}}constant_align4_load_i64:
455 ; SI: s_load_dwordx2
456 ; SI: buffer_store_dwordx2
463 ; SI-LABEL: {{^}}constant_align4_load_v4i32:
464 ; SI: s_load_dwordx4
465 ; SI: buffer_store_dwordx4
472 ; SI-LABEL: {{^}}constant_unaligned_load_v2i32:
485 ; SI: buffer_store_dwordx2
492 ; SI-LABEL: {{^}}constant_unaligned_load_v4i32:
515 ; SI: buffer_store_dwordx4
522 ; SI-LABEL: {{^}}constant_align4_load_i8:
523 ; SI: s_load_dword
524 ; SI: buffer_store_byte
531 ; SI-LABEL: {{^}}constant_align2_load_i8:
532 ; SI: buffer_load_ubyte
533 ; SI: buffer_store_byte
540 ; SI-LABEL: {{^}}constant_align4_merge_load_2_i32:
541 ; SI: s_load_dwordx2 s[[[LO:[0-9]+]]:[[HI:[0-9]+]]], s{{\[[0-9]+:[0-9]+\]}}, 0x0{{$}}
542 ; SI-DAG: v_mov_b32_e32 v[[VLO:[0-9]+]], s[[LO]]
543 ; SI-DAG: v_mov_b32_e32 v[[VHI:[0-9]+]], s[[HI]]
544 ; SI: buffer_store_dwordx2 v[[[VLO]]:[[VHI]]]
556 ; SI-LABEL: {{^}}local_load_align1_v16i8:
557 ; SI: ds_read_u8
558 ; SI: ds_read_u8
559 ; SI: ds_read_u8
560 ; SI: ds_read_u8
561 ; SI: ds_read_u8
562 ; SI: ds_read_u8
563 ; SI: ds_read_u8
564 ; SI: ds_read_u8
565 ; SI: ds_read_u8
566 ; SI: ds_read_u8
567 ; SI: ds_read_u8
568 ; SI: ds_read_u8
569 ; SI: ds_read_u8
570 ; SI: ds_read_u8
571 ; SI: ds_read_u8
572 ; SI: ds_read_u8
574 ; SI: ScratchSize: 0{{$}}
581 ; SI-LABEL: {{^}}local_store_align1_v16i8:
582 ; SI: ds_write_b8
583 ; SI: ds_write_b8
584 ; SI: ds_write_b8
585 ; SI: ds_write_b8
586 ; SI: ds_write_b8
587 ; SI: ds_write_b8
588 ; SI: ds_write_b8
589 ; SI: ds_write_b8
590 ; SI: ds_write_b8
591 ; SI: ds_write_b8
592 ; SI: ds_write_b8
593 ; SI: ds_write_b8
594 ; SI: ds_write_b8
595 ; SI: ds_write_b8
596 ; SI: ds_write_b8
597 ; SI: ds_write_b8
599 ; SI: ScratchSize: 0{{$}}
605 ; SI-LABEL: {{^}}private_load_align1_f64:
620 ; SI-LABEL: {{^}}private_store_align1_f64:
635 ; SI-LABEL: {{^}}private_load_align4_f64:
644 ; SI-LABEL: {{^}}private_store_align4_f64:
653 ; SI-LABEL: {{^}}private_load_align2_f64:
664 ; SI-LABEL: {{^}}private_store_align2_f64: