Lines Matching refs:SKIP
6 …-skip-cache-invalidations -verify-machineinstrs < %s | FileCheck --check-prefixes=SKIP-CACHE-INV %s
56 ; SKIP-CACHE-INV-LABEL: local_system_unordered_load:
57 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
58 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
59 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
60 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
61 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
62 ; SKIP-CACHE-INV-NEXT: ds_read_b32 v0, v0
63 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
64 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
65 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v1, v0
66 ; SKIP-CACHE-INV-NEXT: s_endpgm
122 ; SKIP-CACHE-INV-LABEL: local_system_monotonic_load:
123 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
124 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
125 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
126 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
127 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
128 ; SKIP-CACHE-INV-NEXT: ds_read_b32 v0, v0
129 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
130 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
131 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v1, v0
132 ; SKIP-CACHE-INV-NEXT: s_endpgm
194 ; SKIP-CACHE-INV-LABEL: local_system_acquire_load:
195 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
196 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
197 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
198 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
199 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
200 ; SKIP-CACHE-INV-NEXT: ds_read_b32 v0, v0
201 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
202 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
203 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v1, v0
204 ; SKIP-CACHE-INV-NEXT: s_endpgm
272 ; SKIP-CACHE-INV-LABEL: local_system_seq_cst_load:
273 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
274 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
275 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
276 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
277 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
278 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
279 ; SKIP-CACHE-INV-NEXT: ds_read_b32 v0, v0
280 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
281 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
282 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v1, v0
283 ; SKIP-CACHE-INV-NEXT: s_endpgm
331 ; SKIP-CACHE-INV-LABEL: local_system_unordered_store:
332 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
333 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
334 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
335 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
336 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s1
337 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
338 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
339 ; SKIP-CACHE-INV-NEXT: s_endpgm
386 ; SKIP-CACHE-INV-LABEL: local_system_monotonic_store:
387 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
388 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
389 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
390 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
391 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s1
392 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
393 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
394 ; SKIP-CACHE-INV-NEXT: s_endpgm
447 ; SKIP-CACHE-INV-LABEL: local_system_release_store:
448 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
449 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
450 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
451 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
452 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s1
453 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
454 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
455 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
456 ; SKIP-CACHE-INV-NEXT: s_endpgm
509 ; SKIP-CACHE-INV-LABEL: local_system_seq_cst_store:
510 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
511 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
512 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
513 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
514 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s1
515 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
516 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
517 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
518 ; SKIP-CACHE-INV-NEXT: s_endpgm
565 ; SKIP-CACHE-INV-LABEL: local_system_monotonic_atomicrmw:
566 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
567 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
568 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
569 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
570 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
571 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
572 ; SKIP-CACHE-INV-NEXT: ds_wrxchg_rtn_b32 v0, v0, v1
573 ; SKIP-CACHE-INV-NEXT: s_endpgm
632 ; SKIP-CACHE-INV-LABEL: local_system_acquire_atomicrmw:
633 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
634 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
635 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
636 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
637 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
638 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
639 ; SKIP-CACHE-INV-NEXT: ds_wrxchg_rtn_b32 v0, v0, v1
640 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
641 ; SKIP-CACHE-INV-NEXT: s_endpgm
694 ; SKIP-CACHE-INV-LABEL: local_system_release_atomicrmw:
695 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
696 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
697 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
698 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
699 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
700 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
701 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
702 ; SKIP-CACHE-INV-NEXT: ds_wrxchg_rtn_b32 v0, v0, v1
703 ; SKIP-CACHE-INV-NEXT: s_endpgm
768 ; SKIP-CACHE-INV-LABEL: local_system_acq_rel_atomicrmw:
769 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
770 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
771 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
772 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
773 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
774 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
775 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
776 ; SKIP-CACHE-INV-NEXT: ds_wrxchg_rtn_b32 v0, v0, v1
777 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
778 ; SKIP-CACHE-INV-NEXT: s_endpgm
843 ; SKIP-CACHE-INV-LABEL: local_system_seq_cst_atomicrmw:
844 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
845 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
846 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
847 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
848 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
849 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
850 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
851 ; SKIP-CACHE-INV-NEXT: ds_wrxchg_rtn_b32 v0, v0, v1
852 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
853 ; SKIP-CACHE-INV-NEXT: s_endpgm
916 ; SKIP-CACHE-INV-LABEL: local_system_acquire_ret_atomicrmw:
917 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
918 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
919 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
920 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
921 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
922 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
923 ; SKIP-CACHE-INV-NEXT: ds_wrxchg_rtn_b32 v1, v0, v1
924 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
925 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
926 ; SKIP-CACHE-INV-NEXT: s_endpgm
996 ; SKIP-CACHE-INV-LABEL: local_system_acq_rel_ret_atomicrmw:
997 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
998 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
999 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
1000 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
1001 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
1002 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
1003 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
1004 ; SKIP-CACHE-INV-NEXT: ds_wrxchg_rtn_b32 v1, v0, v1
1005 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
1006 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
1007 ; SKIP-CACHE-INV-NEXT: s_endpgm
1077 ; SKIP-CACHE-INV-LABEL: local_system_seq_cst_ret_atomicrmw:
1078 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
1079 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
1080 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
1081 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
1082 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
1083 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
1084 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
1085 ; SKIP-CACHE-INV-NEXT: ds_wrxchg_rtn_b32 v1, v0, v1
1086 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
1087 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
1088 ; SKIP-CACHE-INV-NEXT: s_endpgm
1140 ; SKIP-CACHE-INV-LABEL: local_system_monotonic_monotonic_cmpxchg:
1141 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
1142 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
1143 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
1144 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
1145 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
1146 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
1147 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
1148 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
1149 ; SKIP-CACHE-INV-NEXT: ds_cmpst_b32 v0, v1, v2 offset:16
1150 ; SKIP-CACHE-INV-NEXT: s_endpgm
1214 ; SKIP-CACHE-INV-LABEL: local_system_acquire_monotonic_cmpxchg:
1215 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
1216 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
1217 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
1218 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
1219 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
1220 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
1221 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
1222 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
1223 ; SKIP-CACHE-INV-NEXT: ds_cmpst_b32 v0, v1, v2 offset:16
1224 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
1225 ; SKIP-CACHE-INV-NEXT: s_endpgm
1283 ; SKIP-CACHE-INV-LABEL: local_system_release_monotonic_cmpxchg:
1284 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
1285 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
1286 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
1287 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
1288 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
1289 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
1290 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
1291 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
1292 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
1293 ; SKIP-CACHE-INV-NEXT: ds_cmpst_b32 v0, v1, v2 offset:16
1294 ; SKIP-CACHE-INV-NEXT: s_endpgm
1364 ; SKIP-CACHE-INV-LABEL: local_system_acq_rel_monotonic_cmpxchg:
1365 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
1366 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
1367 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
1368 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
1369 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
1370 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
1371 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
1372 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
1373 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
1374 ; SKIP-CACHE-INV-NEXT: ds_cmpst_b32 v0, v1, v2 offset:16
1375 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
1376 ; SKIP-CACHE-INV-NEXT: s_endpgm
1446 ; SKIP-CACHE-INV-LABEL: local_system_seq_cst_monotonic_cmpxchg:
1447 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
1448 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
1449 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
1450 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
1451 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
1452 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
1453 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
1454 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
1455 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
1456 ; SKIP-CACHE-INV-NEXT: ds_cmpst_b32 v0, v1, v2 offset:16
1457 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
1458 ; SKIP-CACHE-INV-NEXT: s_endpgm
1522 ; SKIP-CACHE-INV-LABEL: local_system_acquire_acquire_cmpxchg:
1523 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
1524 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
1525 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
1526 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
1527 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
1528 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
1529 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
1530 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
1531 ; SKIP-CACHE-INV-NEXT: ds_cmpst_b32 v0, v1, v2 offset:16
1532 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
1533 ; SKIP-CACHE-INV-NEXT: s_endpgm
1603 ; SKIP-CACHE-INV-LABEL: local_system_release_acquire_cmpxchg:
1604 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
1605 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
1606 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
1607 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
1608 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
1609 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
1610 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
1611 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
1612 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
1613 ; SKIP-CACHE-INV-NEXT: ds_cmpst_b32 v0, v1, v2 offset:16
1614 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
1615 ; SKIP-CACHE-INV-NEXT: s_endpgm
1685 ; SKIP-CACHE-INV-LABEL: local_system_acq_rel_acquire_cmpxchg:
1686 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
1687 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
1688 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
1689 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
1690 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
1691 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
1692 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
1693 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
1694 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
1695 ; SKIP-CACHE-INV-NEXT: ds_cmpst_b32 v0, v1, v2 offset:16
1696 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
1697 ; SKIP-CACHE-INV-NEXT: s_endpgm
1767 ; SKIP-CACHE-INV-LABEL: local_system_seq_cst_acquire_cmpxchg:
1768 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
1769 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
1770 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
1771 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
1772 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
1773 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
1774 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
1775 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
1776 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
1777 ; SKIP-CACHE-INV-NEXT: ds_cmpst_b32 v0, v1, v2 offset:16
1778 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
1779 ; SKIP-CACHE-INV-NEXT: s_endpgm
1849 ; SKIP-CACHE-INV-LABEL: local_system_seq_cst_seq_cst_cmpxchg:
1850 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
1851 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
1852 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
1853 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
1854 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
1855 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
1856 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
1857 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
1858 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
1859 ; SKIP-CACHE-INV-NEXT: ds_cmpst_b32 v0, v1, v2 offset:16
1860 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
1861 ; SKIP-CACHE-INV-NEXT: s_endpgm
1927 ; SKIP-CACHE-INV-LABEL: local_system_acquire_monotonic_ret_cmpxchg:
1928 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
1929 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
1930 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
1931 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
1932 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
1933 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
1934 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
1935 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
1936 ; SKIP-CACHE-INV-NEXT: ds_cmpst_rtn_b32 v1, v0, v1, v2 offset:16
1937 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
1938 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
1939 ; SKIP-CACHE-INV-NEXT: s_endpgm
2013 ; SKIP-CACHE-INV-LABEL: local_system_acq_rel_monotonic_ret_cmpxchg:
2014 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
2015 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
2016 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
2017 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
2018 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
2019 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
2020 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
2021 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
2022 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
2023 ; SKIP-CACHE-INV-NEXT: ds_cmpst_rtn_b32 v1, v0, v1, v2 offset:16
2024 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
2025 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
2026 ; SKIP-CACHE-INV-NEXT: s_endpgm
2100 ; SKIP-CACHE-INV-LABEL: local_system_seq_cst_monotonic_ret_cmpxchg:
2101 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
2102 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
2103 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
2104 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
2105 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
2106 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
2107 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
2108 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
2109 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
2110 ; SKIP-CACHE-INV-NEXT: ds_cmpst_rtn_b32 v1, v0, v1, v2 offset:16
2111 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
2112 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
2113 ; SKIP-CACHE-INV-NEXT: s_endpgm
2181 ; SKIP-CACHE-INV-LABEL: local_system_acquire_acquire_ret_cmpxchg:
2182 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
2183 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
2184 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
2185 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
2186 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
2187 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
2188 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
2189 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
2190 ; SKIP-CACHE-INV-NEXT: ds_cmpst_rtn_b32 v1, v0, v1, v2 offset:16
2191 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
2192 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
2193 ; SKIP-CACHE-INV-NEXT: s_endpgm
2267 ; SKIP-CACHE-INV-LABEL: local_system_release_acquire_ret_cmpxchg:
2268 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
2269 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
2270 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
2271 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
2272 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
2273 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
2274 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
2275 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
2276 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
2277 ; SKIP-CACHE-INV-NEXT: ds_cmpst_rtn_b32 v1, v0, v1, v2 offset:16
2278 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
2279 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
2280 ; SKIP-CACHE-INV-NEXT: s_endpgm
2354 ; SKIP-CACHE-INV-LABEL: local_system_acq_rel_acquire_ret_cmpxchg:
2355 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
2356 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
2357 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
2358 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
2359 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
2360 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
2361 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
2362 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
2363 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
2364 ; SKIP-CACHE-INV-NEXT: ds_cmpst_rtn_b32 v1, v0, v1, v2 offset:16
2365 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
2366 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
2367 ; SKIP-CACHE-INV-NEXT: s_endpgm
2441 ; SKIP-CACHE-INV-LABEL: local_system_seq_cst_acquire_ret_cmpxchg:
2442 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
2443 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
2444 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
2445 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
2446 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
2447 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
2448 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
2449 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
2450 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
2451 ; SKIP-CACHE-INV-NEXT: ds_cmpst_rtn_b32 v1, v0, v1, v2 offset:16
2452 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
2453 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
2454 ; SKIP-CACHE-INV-NEXT: s_endpgm
2528 ; SKIP-CACHE-INV-LABEL: local_system_seq_cst_seq_cst_ret_cmpxchg:
2529 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
2530 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
2531 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
2532 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
2533 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
2534 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
2535 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
2536 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
2537 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
2538 ; SKIP-CACHE-INV-NEXT: ds_cmpst_rtn_b32 v1, v0, v1, v2 offset:16
2539 ; SKIP-CACHE-INV-NEXT: s_waitcnt vmcnt(0) lgkmcnt(0)
2540 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
2541 ; SKIP-CACHE-INV-NEXT: s_endpgm
2599 ; SKIP-CACHE-INV-LABEL: local_system_one_as_unordered_load:
2600 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
2601 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
2602 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
2603 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
2604 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
2605 ; SKIP-CACHE-INV-NEXT: ds_read_b32 v0, v0
2606 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
2607 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
2608 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v1, v0
2609 ; SKIP-CACHE-INV-NEXT: s_endpgm
2665 ; SKIP-CACHE-INV-LABEL: local_system_one_as_monotonic_load:
2666 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
2667 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
2668 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
2669 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
2670 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
2671 ; SKIP-CACHE-INV-NEXT: ds_read_b32 v0, v0
2672 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
2673 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
2674 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v1, v0
2675 ; SKIP-CACHE-INV-NEXT: s_endpgm
2731 ; SKIP-CACHE-INV-LABEL: local_system_one_as_acquire_load:
2732 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
2733 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
2734 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
2735 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
2736 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
2737 ; SKIP-CACHE-INV-NEXT: ds_read_b32 v0, v0
2738 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
2739 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
2740 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v1, v0
2741 ; SKIP-CACHE-INV-NEXT: s_endpgm
2797 ; SKIP-CACHE-INV-LABEL: local_system_one_as_seq_cst_load:
2798 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
2799 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
2800 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
2801 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
2802 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
2803 ; SKIP-CACHE-INV-NEXT: ds_read_b32 v0, v0
2804 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
2805 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
2806 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v1, v0
2807 ; SKIP-CACHE-INV-NEXT: s_endpgm
2855 ; SKIP-CACHE-INV-LABEL: local_system_one_as_unordered_store:
2856 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
2857 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
2858 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
2859 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
2860 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s1
2861 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
2862 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
2863 ; SKIP-CACHE-INV-NEXT: s_endpgm
2910 ; SKIP-CACHE-INV-LABEL: local_system_one_as_monotonic_store:
2911 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
2912 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
2913 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
2914 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
2915 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s1
2916 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
2917 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
2918 ; SKIP-CACHE-INV-NEXT: s_endpgm
2965 ; SKIP-CACHE-INV-LABEL: local_system_one_as_release_store:
2966 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
2967 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
2968 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
2969 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
2970 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s1
2971 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
2972 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
2973 ; SKIP-CACHE-INV-NEXT: s_endpgm
3020 ; SKIP-CACHE-INV-LABEL: local_system_one_as_seq_cst_store:
3021 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
3022 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
3023 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
3024 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
3025 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s1
3026 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
3027 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
3028 ; SKIP-CACHE-INV-NEXT: s_endpgm
3075 ; SKIP-CACHE-INV-LABEL: local_system_one_as_monotonic_atomicrmw:
3076 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
3077 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
3078 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
3079 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
3080 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
3081 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
3082 ; SKIP-CACHE-INV-NEXT: ds_wrxchg_rtn_b32 v0, v0, v1
3083 ; SKIP-CACHE-INV-NEXT: s_endpgm
3130 ; SKIP-CACHE-INV-LABEL: local_system_one_as_acquire_atomicrmw:
3131 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
3132 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
3133 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
3134 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
3135 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
3136 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
3137 ; SKIP-CACHE-INV-NEXT: ds_wrxchg_rtn_b32 v0, v0, v1
3138 ; SKIP-CACHE-INV-NEXT: s_endpgm
3185 ; SKIP-CACHE-INV-LABEL: local_system_one_as_release_atomicrmw:
3186 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
3187 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
3188 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
3189 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
3190 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
3191 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
3192 ; SKIP-CACHE-INV-NEXT: ds_wrxchg_rtn_b32 v0, v0, v1
3193 ; SKIP-CACHE-INV-NEXT: s_endpgm
3240 ; SKIP-CACHE-INV-LABEL: local_system_one_as_acq_rel_atomicrmw:
3241 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
3242 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
3243 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
3244 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
3245 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
3246 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
3247 ; SKIP-CACHE-INV-NEXT: ds_wrxchg_rtn_b32 v0, v0, v1
3248 ; SKIP-CACHE-INV-NEXT: s_endpgm
3295 ; SKIP-CACHE-INV-LABEL: local_system_one_as_seq_cst_atomicrmw:
3296 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
3297 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
3298 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
3299 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
3300 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
3301 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
3302 ; SKIP-CACHE-INV-NEXT: ds_wrxchg_rtn_b32 v0, v0, v1
3303 ; SKIP-CACHE-INV-NEXT: s_endpgm
3358 ; SKIP-CACHE-INV-LABEL: local_system_one_as_acquire_ret_atomicrmw:
3359 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
3360 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
3361 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
3362 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
3363 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
3364 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
3365 ; SKIP-CACHE-INV-NEXT: ds_wrxchg_rtn_b32 v1, v0, v1
3366 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
3367 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
3368 ; SKIP-CACHE-INV-NEXT: s_endpgm
3424 ; SKIP-CACHE-INV-LABEL: local_system_one_as_acq_rel_ret_atomicrmw:
3425 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
3426 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
3427 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
3428 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
3429 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
3430 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
3431 ; SKIP-CACHE-INV-NEXT: ds_wrxchg_rtn_b32 v1, v0, v1
3432 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
3433 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
3434 ; SKIP-CACHE-INV-NEXT: s_endpgm
3490 ; SKIP-CACHE-INV-LABEL: local_system_one_as_seq_cst_ret_atomicrmw:
3491 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
3492 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x9
3493 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
3494 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
3495 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s0
3496 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s1
3497 ; SKIP-CACHE-INV-NEXT: ds_wrxchg_rtn_b32 v1, v0, v1
3498 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
3499 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
3500 ; SKIP-CACHE-INV-NEXT: s_endpgm
3552 ; SKIP-CACHE-INV-LABEL: local_system_one_as_monotonic_monotonic_cmpxchg:
3553 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
3554 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
3555 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
3556 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
3557 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
3558 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
3559 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
3560 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
3561 ; SKIP-CACHE-INV-NEXT: ds_cmpst_b32 v0, v1, v2 offset:16
3562 ; SKIP-CACHE-INV-NEXT: s_endpgm
3614 ; SKIP-CACHE-INV-LABEL: local_system_one_as_acquire_monotonic_cmpxchg:
3615 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
3616 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
3617 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
3618 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
3619 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
3620 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
3621 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
3622 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
3623 ; SKIP-CACHE-INV-NEXT: ds_cmpst_b32 v0, v1, v2 offset:16
3624 ; SKIP-CACHE-INV-NEXT: s_endpgm
3676 ; SKIP-CACHE-INV-LABEL: local_system_one_as_release_monotonic_cmpxchg:
3677 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
3678 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
3679 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
3680 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
3681 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
3682 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
3683 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
3684 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
3685 ; SKIP-CACHE-INV-NEXT: ds_cmpst_b32 v0, v1, v2 offset:16
3686 ; SKIP-CACHE-INV-NEXT: s_endpgm
3738 ; SKIP-CACHE-INV-LABEL: local_system_one_as_acq_rel_monotonic_cmpxchg:
3739 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
3740 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
3741 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
3742 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
3743 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
3744 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
3745 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
3746 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
3747 ; SKIP-CACHE-INV-NEXT: ds_cmpst_b32 v0, v1, v2 offset:16
3748 ; SKIP-CACHE-INV-NEXT: s_endpgm
3800 ; SKIP-CACHE-INV-LABEL: local_system_one_as_seq_cst_monotonic_cmpxchg:
3801 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
3802 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
3803 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
3804 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
3805 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
3806 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
3807 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
3808 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
3809 ; SKIP-CACHE-INV-NEXT: ds_cmpst_b32 v0, v1, v2 offset:16
3810 ; SKIP-CACHE-INV-NEXT: s_endpgm
3862 ; SKIP-CACHE-INV-LABEL: local_system_one_as_acquire_acquire_cmpxchg:
3863 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
3864 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
3865 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
3866 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
3867 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
3868 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
3869 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
3870 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
3871 ; SKIP-CACHE-INV-NEXT: ds_cmpst_b32 v0, v1, v2 offset:16
3872 ; SKIP-CACHE-INV-NEXT: s_endpgm
3924 ; SKIP-CACHE-INV-LABEL: local_system_one_as_release_acquire_cmpxchg:
3925 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
3926 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
3927 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
3928 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
3929 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
3930 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
3931 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
3932 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
3933 ; SKIP-CACHE-INV-NEXT: ds_cmpst_b32 v0, v1, v2 offset:16
3934 ; SKIP-CACHE-INV-NEXT: s_endpgm
3986 ; SKIP-CACHE-INV-LABEL: local_system_one_as_acq_rel_acquire_cmpxchg:
3987 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
3988 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
3989 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
3990 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
3991 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
3992 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
3993 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
3994 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
3995 ; SKIP-CACHE-INV-NEXT: ds_cmpst_b32 v0, v1, v2 offset:16
3996 ; SKIP-CACHE-INV-NEXT: s_endpgm
4048 ; SKIP-CACHE-INV-LABEL: local_system_one_as_seq_cst_acquire_cmpxchg:
4049 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
4050 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
4051 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
4052 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
4053 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
4054 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
4055 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
4056 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
4057 ; SKIP-CACHE-INV-NEXT: ds_cmpst_b32 v0, v1, v2 offset:16
4058 ; SKIP-CACHE-INV-NEXT: s_endpgm
4110 ; SKIP-CACHE-INV-LABEL: local_system_one_as_seq_cst_seq_cst_cmpxchg:
4111 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
4112 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
4113 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
4114 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
4115 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
4116 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
4117 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
4118 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
4119 ; SKIP-CACHE-INV-NEXT: ds_cmpst_b32 v0, v1, v2 offset:16
4120 ; SKIP-CACHE-INV-NEXT: s_endpgm
4180 ; SKIP-CACHE-INV-LABEL: local_system_one_as_acquire_monotonic_ret_cmpxchg:
4181 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
4182 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
4183 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
4184 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
4185 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
4186 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
4187 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
4188 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
4189 ; SKIP-CACHE-INV-NEXT: ds_cmpst_rtn_b32 v1, v0, v1, v2 offset:16
4190 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
4191 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
4192 ; SKIP-CACHE-INV-NEXT: s_endpgm
4254 ; SKIP-CACHE-INV-LABEL: local_system_one_as_acq_rel_monotonic_ret_cmpxchg:
4255 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
4256 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
4257 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
4258 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
4259 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
4260 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
4261 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
4262 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
4263 ; SKIP-CACHE-INV-NEXT: ds_cmpst_rtn_b32 v1, v0, v1, v2 offset:16
4264 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
4265 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
4266 ; SKIP-CACHE-INV-NEXT: s_endpgm
4328 ; SKIP-CACHE-INV-LABEL: local_system_one_as_seq_cst_monotonic_ret_cmpxchg:
4329 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
4330 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
4331 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
4332 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
4333 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
4334 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
4335 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
4336 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
4337 ; SKIP-CACHE-INV-NEXT: ds_cmpst_rtn_b32 v1, v0, v1, v2 offset:16
4338 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
4339 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
4340 ; SKIP-CACHE-INV-NEXT: s_endpgm
4402 ; SKIP-CACHE-INV-LABEL: local_system_one_as_acquire_acquire_ret_cmpxchg:
4403 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
4404 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
4405 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
4406 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
4407 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
4408 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
4409 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
4410 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
4411 ; SKIP-CACHE-INV-NEXT: ds_cmpst_rtn_b32 v1, v0, v1, v2 offset:16
4412 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
4413 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
4414 ; SKIP-CACHE-INV-NEXT: s_endpgm
4476 ; SKIP-CACHE-INV-LABEL: local_system_one_as_release_acquire_ret_cmpxchg:
4477 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
4478 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
4479 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
4480 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
4481 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
4482 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
4483 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
4484 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
4485 ; SKIP-CACHE-INV-NEXT: ds_cmpst_rtn_b32 v1, v0, v1, v2 offset:16
4486 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
4487 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
4488 ; SKIP-CACHE-INV-NEXT: s_endpgm
4550 ; SKIP-CACHE-INV-LABEL: local_system_one_as_acq_rel_acquire_ret_cmpxchg:
4551 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
4552 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
4553 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
4554 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
4555 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
4556 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
4557 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
4558 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
4559 ; SKIP-CACHE-INV-NEXT: ds_cmpst_rtn_b32 v1, v0, v1, v2 offset:16
4560 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
4561 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
4562 ; SKIP-CACHE-INV-NEXT: s_endpgm
4624 ; SKIP-CACHE-INV-LABEL: local_system_one_as_seq_cst_acquire_ret_cmpxchg:
4625 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
4626 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
4627 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
4628 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
4629 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
4630 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
4631 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
4632 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
4633 ; SKIP-CACHE-INV-NEXT: ds_cmpst_rtn_b32 v1, v0, v1, v2 offset:16
4634 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
4635 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
4636 ; SKIP-CACHE-INV-NEXT: s_endpgm
4698 ; SKIP-CACHE-INV-LABEL: local_system_one_as_seq_cst_seq_cst_ret_cmpxchg:
4699 ; SKIP-CACHE-INV: ; %bb.0: ; %entry
4700 ; SKIP-CACHE-INV-NEXT: s_load_dwordx2 s[2:3], s[0:1], 0x9
4701 ; SKIP-CACHE-INV-NEXT: s_load_dword s0, s[0:1], 0xb
4702 ; SKIP-CACHE-INV-NEXT: s_mov_b32 m0, -1
4703 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
4704 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v0, s2
4705 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v1, s0
4706 ; SKIP-CACHE-INV-NEXT: v_mov_b32_e32 v2, s3
4707 ; SKIP-CACHE-INV-NEXT: ds_cmpst_rtn_b32 v1, v0, v1, v2 offset:16
4708 ; SKIP-CACHE-INV-NEXT: s_waitcnt lgkmcnt(0)
4709 ; SKIP-CACHE-INV-NEXT: ds_write_b32 v0, v1
4710 ; SKIP-CACHE-INV-NEXT: s_endpgm