fix(tools): stop counting IMAGE_*_PCK2/PCK4 as decoded instructions

IMAGE_LOAD_PCK2/PCK4, IMAGE_LOAD_MIP_PCK2/PCK4, IMAGE_STORE_PCK2/PCK4 and
IMAGE_STORE_MIP_PCK2/PCK4 are separate MIMG opcodes (112/113, 115/116,
118/119, 121/122 on RDNA1 and RDNA2 in AMD's generated tables), not dmask
forms of IMAGE_LOAD_PCK (2), IMAGE_LOAD_MIP_PCK (4), IMAGE_STORE_PCK (10)
and IMAGE_STORE_MIP_PCK (11). The decoder has no entries for them and
throws "unsupported MIMG opcode", so they are no longer credited.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ploysius
2026-10-07 10:27:59 -04:00
parent 3c054008b8
commit f2bee7d270
-4
View File
@@ -53,10 +53,6 @@ OPCODE_VARIANTS = {
"VMacLegacyF32": ("V_FMAC_LEGACY_F32",),
"VMadLegacyF32": ("V_FMA_LEGACY_F32",),
"ImageSample": ("IMAGE_SAMPLE_L", "IMAGE_SAMPLE_B", "IMAGE_SAMPLE_C_LZ", "IMAGE_SAMPLE_L_O", "IMAGE_SAMPLE_D_CL_O"),
"ImageLoadPck": ("IMAGE_LOAD_PCK2", "IMAGE_LOAD_PCK4"),
"ImageLoadMipPck": ("IMAGE_LOAD_MIP_PCK2", "IMAGE_LOAD_MIP_PCK4"),
"ImageStorePck": ("IMAGE_STORE_PCK2", "IMAGE_STORE_PCK4"),
"ImageStoreMipPck": ("IMAGE_STORE_MIP_PCK2", "IMAGE_STORE_MIP_PCK4"),
}
REPORT_ROWS = 100
PANEL_WIDTH, GAP, MAP_HEIGHT, HEADER = 495, 10, 280, 30