Lines Matching refs:V4

4 …code-object-version=4 -verify-machineinstrs < %s | FileCheck --check-prefix=NOHSA-TRAP-GFX900-V4 %s
7 …a-code-object-version=4 -verify-machineinstrs < %s | FileCheck --check-prefix=HSA-TRAP-GFX803-V4 %s
10 …a-code-object-version=4 -verify-machineinstrs < %s | FileCheck --check-prefix=HSA-TRAP-GFX900-V4 %s
13 …code-object-version=4 -verify-machineinstrs < %s | FileCheck --check-prefix=HSA-NOTRAP-GFX900-V4 %s
39 ; NOHSA-TRAP-GFX900-V4-LABEL: trap:
40 ; NOHSA-TRAP-GFX900-V4: ; %bb.0:
41 ; NOHSA-TRAP-GFX900-V4-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x24
42 ; NOHSA-TRAP-GFX900-V4-NEXT: v_mov_b32_e32 v0, 0
43 ; NOHSA-TRAP-GFX900-V4-NEXT: v_mov_b32_e32 v1, 1
44 ; NOHSA-TRAP-GFX900-V4-NEXT: s_waitcnt lgkmcnt(0)
45 ; NOHSA-TRAP-GFX900-V4-NEXT: global_store_dword v0, v1, s[0:1]
46 ; NOHSA-TRAP-GFX900-V4-NEXT: s_waitcnt vmcnt(0)
47 ; NOHSA-TRAP-GFX900-V4-NEXT: s_endpgm
141 ; HSA-TRAP-GFX803-V4-LABEL: trap:
142 ; HSA-TRAP-GFX803-V4: ; %bb.0:
143 ; HSA-TRAP-GFX803-V4-NEXT: s_load_dwordx2 s[2:3], s[6:7], 0x0
144 ; HSA-TRAP-GFX803-V4-NEXT: v_mov_b32_e32 v2, 1
145 ; HSA-TRAP-GFX803-V4-NEXT: s_mov_b64 s[0:1], s[4:5]
146 ; HSA-TRAP-GFX803-V4-NEXT: s_waitcnt lgkmcnt(0)
147 ; HSA-TRAP-GFX803-V4-NEXT: v_mov_b32_e32 v0, s2
148 ; HSA-TRAP-GFX803-V4-NEXT: v_mov_b32_e32 v1, s3
149 ; HSA-TRAP-GFX803-V4-NEXT: flat_store_dword v[0:1], v2
150 ; HSA-TRAP-GFX803-V4-NEXT: s_waitcnt vmcnt(0)
151 ; HSA-TRAP-GFX803-V4-NEXT: s_trap 2
243 ; HSA-TRAP-GFX900-V4-LABEL: trap:
244 ; HSA-TRAP-GFX900-V4: ; %bb.0:
245 ; HSA-TRAP-GFX900-V4-NEXT: s_load_dwordx2 s[0:1], s[4:5], 0x0
246 ; HSA-TRAP-GFX900-V4-NEXT: v_mov_b32_e32 v0, 0
247 ; HSA-TRAP-GFX900-V4-NEXT: v_mov_b32_e32 v1, 1
248 ; HSA-TRAP-GFX900-V4-NEXT: s_waitcnt lgkmcnt(0)
249 ; HSA-TRAP-GFX900-V4-NEXT: global_store_dword v0, v1, s[0:1]
250 ; HSA-TRAP-GFX900-V4-NEXT: s_waitcnt vmcnt(0)
251 ; HSA-TRAP-GFX900-V4-NEXT: s_trap 2
341 ; HSA-NOTRAP-GFX900-V4-LABEL: trap:
342 ; HSA-NOTRAP-GFX900-V4: ; %bb.0:
343 ; HSA-NOTRAP-GFX900-V4-NEXT: s_load_dwordx2 s[0:1], s[4:5], 0x0
344 ; HSA-NOTRAP-GFX900-V4-NEXT: v_mov_b32_e32 v0, 0
345 ; HSA-NOTRAP-GFX900-V4-NEXT: v_mov_b32_e32 v1, 1
346 ; HSA-NOTRAP-GFX900-V4-NEXT: s_waitcnt lgkmcnt(0)
347 ; HSA-NOTRAP-GFX900-V4-NEXT: global_store_dword v0, v1, s[0:1]
348 ; HSA-NOTRAP-GFX900-V4-NEXT: s_waitcnt vmcnt(0)
349 ; HSA-NOTRAP-GFX900-V4-NEXT: s_endpgm
392 ; NOHSA-TRAP-GFX900-V4-LABEL: non_entry_trap:
393 ; NOHSA-TRAP-GFX900-V4: ; %bb.0: ; %entry
394 ; NOHSA-TRAP-GFX900-V4-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x24
395 ; NOHSA-TRAP-GFX900-V4-NEXT: v_mov_b32_e32 v0, 0
396 ; NOHSA-TRAP-GFX900-V4-NEXT: s_waitcnt lgkmcnt(0)
397 ; NOHSA-TRAP-GFX900-V4-NEXT: global_load_dword v1, v0, s[0:1] glc
398 ; NOHSA-TRAP-GFX900-V4-NEXT: s_waitcnt vmcnt(0)
399 ; NOHSA-TRAP-GFX900-V4-NEXT: v_cmp_eq_u32_e32 vcc, -1, v1
400 ; NOHSA-TRAP-GFX900-V4-NEXT: s_cbranch_vccz .LBB1_2
401 ; NOHSA-TRAP-GFX900-V4-NEXT: ; %bb.1: ; %ret
402 ; NOHSA-TRAP-GFX900-V4-NEXT: v_mov_b32_e32 v1, 3
403 ; NOHSA-TRAP-GFX900-V4-NEXT: global_store_dword v0, v1, s[0:1]
404 ; NOHSA-TRAP-GFX900-V4-NEXT: s_waitcnt vmcnt(0)
405 ; NOHSA-TRAP-GFX900-V4-NEXT: s_endpgm
406 ; NOHSA-TRAP-GFX900-V4-NEXT: .LBB1_2: ; %trap
407 ; NOHSA-TRAP-GFX900-V4-NEXT: s_endpgm
519 ; HSA-TRAP-GFX803-V4-LABEL: non_entry_trap:
520 ; HSA-TRAP-GFX803-V4: ; %bb.0: ; %entry
521 ; HSA-TRAP-GFX803-V4-NEXT: s_load_dwordx2 s[0:1], s[6:7], 0x0
522 ; HSA-TRAP-GFX803-V4-NEXT: s_waitcnt lgkmcnt(0)
523 ; HSA-TRAP-GFX803-V4-NEXT: v_mov_b32_e32 v0, s0
524 ; HSA-TRAP-GFX803-V4-NEXT: v_mov_b32_e32 v1, s1
525 ; HSA-TRAP-GFX803-V4-NEXT: flat_load_dword v0, v[0:1] glc
526 ; HSA-TRAP-GFX803-V4-NEXT: s_waitcnt vmcnt(0)
527 ; HSA-TRAP-GFX803-V4-NEXT: v_cmp_eq_u32_e32 vcc, -1, v0
528 ; HSA-TRAP-GFX803-V4-NEXT: s_cbranch_vccz .LBB1_2
529 ; HSA-TRAP-GFX803-V4-NEXT: ; %bb.1: ; %ret
530 ; HSA-TRAP-GFX803-V4-NEXT: v_mov_b32_e32 v0, s0
531 ; HSA-TRAP-GFX803-V4-NEXT: v_mov_b32_e32 v2, 3
532 ; HSA-TRAP-GFX803-V4-NEXT: v_mov_b32_e32 v1, s1
533 ; HSA-TRAP-GFX803-V4-NEXT: flat_store_dword v[0:1], v2
534 ; HSA-TRAP-GFX803-V4-NEXT: s_waitcnt vmcnt(0)
535 ; HSA-TRAP-GFX803-V4-NEXT: s_endpgm
536 ; HSA-TRAP-GFX803-V4-NEXT: .LBB1_2: ; %trap
537 ; HSA-TRAP-GFX803-V4-NEXT: s_mov_b64 s[0:1], s[4:5]
538 ; HSA-TRAP-GFX803-V4-NEXT: s_trap 2
644 ; HSA-TRAP-GFX900-V4-LABEL: non_entry_trap:
645 ; HSA-TRAP-GFX900-V4: ; %bb.0: ; %entry
646 ; HSA-TRAP-GFX900-V4-NEXT: s_load_dwordx2 s[0:1], s[4:5], 0x0
647 ; HSA-TRAP-GFX900-V4-NEXT: v_mov_b32_e32 v0, 0
648 ; HSA-TRAP-GFX900-V4-NEXT: s_waitcnt lgkmcnt(0)
649 ; HSA-TRAP-GFX900-V4-NEXT: global_load_dword v1, v0, s[0:1] glc
650 ; HSA-TRAP-GFX900-V4-NEXT: s_waitcnt vmcnt(0)
651 ; HSA-TRAP-GFX900-V4-NEXT: v_cmp_eq_u32_e32 vcc, -1, v1
652 ; HSA-TRAP-GFX900-V4-NEXT: s_cbranch_vccz .LBB1_2
653 ; HSA-TRAP-GFX900-V4-NEXT: ; %bb.1: ; %ret
654 ; HSA-TRAP-GFX900-V4-NEXT: v_mov_b32_e32 v1, 3
655 ; HSA-TRAP-GFX900-V4-NEXT: global_store_dword v0, v1, s[0:1]
656 ; HSA-TRAP-GFX900-V4-NEXT: s_waitcnt vmcnt(0)
657 ; HSA-TRAP-GFX900-V4-NEXT: s_endpgm
658 ; HSA-TRAP-GFX900-V4-NEXT: .LBB1_2: ; %trap
659 ; HSA-TRAP-GFX900-V4-NEXT: s_trap 2
763 ; HSA-NOTRAP-GFX900-V4-LABEL: non_entry_trap:
764 ; HSA-NOTRAP-GFX900-V4: ; %bb.0: ; %entry
765 ; HSA-NOTRAP-GFX900-V4-NEXT: s_load_dwordx2 s[0:1], s[4:5], 0x0
766 ; HSA-NOTRAP-GFX900-V4-NEXT: v_mov_b32_e32 v0, 0
767 ; HSA-NOTRAP-GFX900-V4-NEXT: s_waitcnt lgkmcnt(0)
768 ; HSA-NOTRAP-GFX900-V4-NEXT: global_load_dword v1, v0, s[0:1] glc
769 ; HSA-NOTRAP-GFX900-V4-NEXT: s_waitcnt vmcnt(0)
770 ; HSA-NOTRAP-GFX900-V4-NEXT: v_cmp_eq_u32_e32 vcc, -1, v1
771 ; HSA-NOTRAP-GFX900-V4-NEXT: s_cbranch_vccz .LBB1_2
772 ; HSA-NOTRAP-GFX900-V4-NEXT: ; %bb.1: ; %ret
773 ; HSA-NOTRAP-GFX900-V4-NEXT: v_mov_b32_e32 v1, 3
774 ; HSA-NOTRAP-GFX900-V4-NEXT: global_store_dword v0, v1, s[0:1]
775 ; HSA-NOTRAP-GFX900-V4-NEXT: s_waitcnt vmcnt(0)
776 ; HSA-NOTRAP-GFX900-V4-NEXT: s_endpgm
777 ; HSA-NOTRAP-GFX900-V4-NEXT: .LBB1_2: ; %trap
778 ; HSA-NOTRAP-GFX900-V4-NEXT: s_endpgm
820 ; NOHSA-TRAP-GFX900-V4-LABEL: debugtrap:
821 ; NOHSA-TRAP-GFX900-V4: ; %bb.0:
822 ; NOHSA-TRAP-GFX900-V4-NEXT: s_load_dwordx2 s[0:1], s[0:1], 0x24
823 ; NOHSA-TRAP-GFX900-V4-NEXT: v_mov_b32_e32 v0, 0
824 ; NOHSA-TRAP-GFX900-V4-NEXT: v_mov_b32_e32 v1, 1
825 ; NOHSA-TRAP-GFX900-V4-NEXT: v_mov_b32_e32 v2, 2
826 ; NOHSA-TRAP-GFX900-V4-NEXT: s_waitcnt lgkmcnt(0)
827 ; NOHSA-TRAP-GFX900-V4-NEXT: global_store_dword v0, v1, s[0:1]
828 ; NOHSA-TRAP-GFX900-V4-NEXT: s_waitcnt vmcnt(0)
829 ; NOHSA-TRAP-GFX900-V4-NEXT: global_store_dword v0, v2, s[0:1]
830 ; NOHSA-TRAP-GFX900-V4-NEXT: s_waitcnt vmcnt(0)
831 ; NOHSA-TRAP-GFX900-V4-NEXT: s_endpgm
931 ; HSA-TRAP-GFX803-V4-LABEL: debugtrap:
932 ; HSA-TRAP-GFX803-V4: ; %bb.0:
933 ; HSA-TRAP-GFX803-V4-NEXT: s_load_dwordx2 s[0:1], s[4:5], 0x0
934 ; HSA-TRAP-GFX803-V4-NEXT: v_mov_b32_e32 v2, 1
935 ; HSA-TRAP-GFX803-V4-NEXT: v_mov_b32_e32 v3, 2
936 ; HSA-TRAP-GFX803-V4-NEXT: s_waitcnt lgkmcnt(0)
937 ; HSA-TRAP-GFX803-V4-NEXT: v_mov_b32_e32 v0, s0
938 ; HSA-TRAP-GFX803-V4-NEXT: v_mov_b32_e32 v1, s1
939 ; HSA-TRAP-GFX803-V4-NEXT: flat_store_dword v[0:1], v2
940 ; HSA-TRAP-GFX803-V4-NEXT: s_waitcnt vmcnt(0)
941 ; HSA-TRAP-GFX803-V4-NEXT: s_trap 3
942 ; HSA-TRAP-GFX803-V4-NEXT: flat_store_dword v[0:1], v3
943 ; HSA-TRAP-GFX803-V4-NEXT: s_waitcnt vmcnt(0)
944 ; HSA-TRAP-GFX803-V4-NEXT: s_endpgm
1042 ; HSA-TRAP-GFX900-V4-LABEL: debugtrap:
1043 ; HSA-TRAP-GFX900-V4: ; %bb.0:
1044 ; HSA-TRAP-GFX900-V4-NEXT: s_load_dwordx2 s[0:1], s[4:5], 0x0
1045 ; HSA-TRAP-GFX900-V4-NEXT: v_mov_b32_e32 v0, 0
1046 ; HSA-TRAP-GFX900-V4-NEXT: v_mov_b32_e32 v1, 1
1047 ; HSA-TRAP-GFX900-V4-NEXT: v_mov_b32_e32 v2, 2
1048 ; HSA-TRAP-GFX900-V4-NEXT: s_waitcnt lgkmcnt(0)
1049 ; HSA-TRAP-GFX900-V4-NEXT: global_store_dword v0, v1, s[0:1]
1050 ; HSA-TRAP-GFX900-V4-NEXT: s_waitcnt vmcnt(0)
1051 ; HSA-TRAP-GFX900-V4-NEXT: s_trap 3
1052 ; HSA-TRAP-GFX900-V4-NEXT: global_store_dword v0, v2, s[0:1]
1053 ; HSA-TRAP-GFX900-V4-NEXT: s_waitcnt vmcnt(0)
1054 ; HSA-TRAP-GFX900-V4-NEXT: s_endpgm
1150 ; HSA-NOTRAP-GFX900-V4-LABEL: debugtrap:
1151 ; HSA-NOTRAP-GFX900-V4: ; %bb.0:
1152 ; HSA-NOTRAP-GFX900-V4-NEXT: s_load_dwordx2 s[0:1], s[4:5], 0x0
1153 ; HSA-NOTRAP-GFX900-V4-NEXT: v_mov_b32_e32 v0, 0
1154 ; HSA-NOTRAP-GFX900-V4-NEXT: v_mov_b32_e32 v1, 1
1155 ; HSA-NOTRAP-GFX900-V4-NEXT: v_mov_b32_e32 v2, 2
1156 ; HSA-NOTRAP-GFX900-V4-NEXT: s_waitcnt lgkmcnt(0)
1157 ; HSA-NOTRAP-GFX900-V4-NEXT: global_store_dword v0, v1, s[0:1]
1158 ; HSA-NOTRAP-GFX900-V4-NEXT: s_waitcnt vmcnt(0)
1159 ; HSA-NOTRAP-GFX900-V4-NEXT: global_store_dword v0, v2, s[0:1]
1160 ; HSA-NOTRAP-GFX900-V4-NEXT: s_waitcnt vmcnt(0)
1161 ; HSA-NOTRAP-GFX900-V4-NEXT: s_endpgm