Fixing vscnt typo in stitch.py

Change-Id: I8a687b9df9173cef97078a23dabdc1f03a72445a
이 커밋은 다음에 포함됨:
Giovanni LB 작성하고 Giovanni Baraldi가 2023-07-15 17:25:17 -04:00를 커밋함
1 부모 a7e5509e8e
커밋 8c170e55a6
1 파일이 변경됨
+6 -3
+6 -3
파일 보기
@@ -329,7 +329,7 @@ def stitch(insts, raw_code, jumps, gfxv):
vsmem_ordering = 1
FLAT_INST.append([reverse_map[line], num_inflight])
NUM_FLAT += 1
elif inst[1] == IMMED and 's_waitcnt ' in as_line[0]:
elif inst[1] == IMMED and 's_waitcnt' in as_line[0]:
if 'lgkmcnt' in as_line[0]:
wait_N = int(as_line[0].split('lgkmcnt(')[1].split(')')[0])
flight_count.append([as_line[5], num_inflight, wait_N])
@@ -366,9 +366,12 @@ def stitch(insts, raw_code, jumps, gfxv):
if 'vscnt' in as_line[0] or (bGFX9 and 'vmcnt' in as_line[0]):
try:
wait_N = int(as_line[0].split('vscnt(')[1].split(')')[0])
except:
wait_N = int(as_line[0].split('vmcnt(')[1].split(')')[0])
except:
try:
wait_N = int(as_line[0].split('vscnt(')[1].split(')')[0])
except:
wait_N = 0
flight_count.append([as_line[5], num_inflight, wait_N])
if wait_N == 0:
vsmem_ordering = 0