upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/scripts/run_gpu_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/run_gpu_tests.py')
-rw-r--r--scripts/run_gpu_tests.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py
index 3e4b17ffa..d8076b010 100644
--- a/scripts/run_gpu_tests.py
+++ b/scripts/run_gpu_tests.py
@@ -1157,7 +1157,7 @@ def run_suite(a, work: str) -> int:
1157 "cs_w64x_lds_war", "cs_w64x_partial", "cs_w64x_sbarrier", "cs_w64x_load_ballot_load", 1157 "cs_w64x_lds_war", "cs_w64x_partial", "cs_w64x_sbarrier", "cs_w64x_load_ballot_load",
1158 "cs_w64x_mask_reuse", "cs_w64x_mask_reuse2", "cs_w64x_chain_barrier", "cs_barrier_divergent", 1158 "cs_w64x_mask_reuse", "cs_w64x_mask_reuse2", "cs_w64x_chain_barrier", "cs_barrier_divergent",
1159 "cs_bpermute32", "cs_w64x_partial_scmp", "cs_w32_partial_scmp", "cs_barrier_early_end", 1159 "cs_bpermute32", "cs_w64x_partial_scmp", "cs_w32_partial_scmp", "cs_barrier_early_end",
1160 "cs_barrier_loop", "cs_w64x_andn2_exec", "cs_w64x_saveexec_b64", "cs_lds_b64_cmpst", "cs_w32_andn2_exec", 1160 "cs_barrier_loop", "cs_w64x_andn2_exec", "cs_w64x_saveexec_b64", "cs_lds_b64_cmpst", "cs_lds_atomics_ext", "cs_w32_andn2_exec",
1161 "cs_mask_vgpr_exec"): 1161 "cs_mask_vgpr_exec"):
1162 cs_dump_wants = { 1162 cs_dump_wants = {
1163 "cs_store": [0x400080FF, 0xE00003FF, 0x3C004000, 0xEEEEEEEE, 0x40003C00, 0xBC003800, 0x40FF8000, 0x3FF00000], 1163 "cs_store": [0x400080FF, 0xE00003FF, 0x3C004000, 0xEEEEEEEE, 0x40003C00, 0xBC003800, 0x40FF8000, 0x3FF00000],
@@ -1192,6 +1192,9 @@ def run_suite(a, work: str) -> int:
1192 # ds_cmpst_b32 and the b64 2-address forms (cs_lds_b64_cmpst.asm header) 1192 # ds_cmpst_b32 and the b64 2-address forms (cs_lds_b64_cmpst.asm header)
1193 "cs_lds_b64_cmpst": [0x11110001, 0x22220002, 0x33330003, 0x44440004, 1193 "cs_lds_b64_cmpst": [0x11110001, 0x22220002, 0x33330003, 0x44440004,
1194 0xCCCC000C, 0x44440004, 0xBBBB000B, 0x3579BADC], 1194 0xCCCC000C, 0x44440004, 0xBBBB000B, 0x3579BADC],
1195 # ds_mskor, ds_and/xor_b64, ds_add_rtn_f32, ds_inc/dec/rsub_u32 (cs_lds_atomics_ext.asm header)
1196 "cs_lds_atomics_ext": [0xF0F11234, 0xAB34CD78, 0x12345678, 0xF0F00F0F,
1197 0xA5A55A5A, 0x00AA00AA, 0x7FB00000, 0xFE090700],
1195 # constant EXEC masks (cs_exec_const.asm): each lane takes its own bit of the constant 1198 # constant EXEC masks (cs_exec_const.asm): each lane takes its own bit of the constant
1196 "cs_exec_const": [16, 8, 2, 16, 0, 16], 1199 "cs_exec_const": [16, 8, 2, 16, 0, 16],
1197 # constant lane masks: lane L takes bit L (cs_w32_mask_imm.asm / cs_w64_mask_imm.asm headers) 1200 # constant lane masks: lane L takes bit L (cs_w32_mask_imm.asm / cs_w64_mask_imm.asm headers)
@@ -1271,7 +1274,7 @@ def run_suite(a, work: str) -> int:
1271 "cs_w32_lds_u8_d16", "cs_w32_int_ext", "cs_w32_salu64", "cs_w32_misc_ext", "cs_w32_new_ops", 1274 "cs_w32_lds_u8_d16", "cs_w32_int_ext", "cs_w32_salu64", "cs_w32_misc_ext", "cs_w32_new_ops",
1272 "cs_w32_lds_subdword", "cs_w32_lds_wide", 1275 "cs_w32_lds_subdword", "cs_w32_lds_wide",
1273 "cs_bpermute32", "cs_w32_partial_scmp", "cs_w32_permlane_fi", "cs_w32_sincos", "cs_w32_buffer_sub16", "cs_w32_buffer_store_sub", "cs_w32_fcmpswap", 1276 "cs_bpermute32", "cs_w32_partial_scmp", "cs_w32_permlane_fi", "cs_w32_sincos", "cs_w32_buffer_sub16", "cs_w32_buffer_store_sub", "cs_w32_fcmpswap",
1274 "cs_lds_b64_cmpst", "cs_exec_const", "cs_w32_mask_imm", "cs_mask_vgpr_exec", 1277 "cs_lds_b64_cmpst", "cs_lds_atomics_ext", "cs_exec_const", "cs_w32_mask_imm", "cs_mask_vgpr_exec",
1275 "cs_dpp", "cs_dpp_row", "cs_dpp_mask", "cs_dpp8", 1278 "cs_dpp", "cs_dpp_row", "cs_dpp_mask", "cs_dpp8",
1276 "cs_dpp_ops", "cs_dpp_bound", "cs_dpp_bank", "cs_dpp_fi", "cs_w32_andn2_exec") and not emulated and not partial 1279 "cs_dpp_ops", "cs_dpp_bound", "cs_dpp_bank", "cs_dpp_fi", "cs_w32_andn2_exec") and not emulated and not partial
1277 if partial and not emulated: 1280 if partial and not emulated:
@@ -1297,7 +1300,7 @@ def run_suite(a, work: str) -> int:
1297 ok, detail = judge_cs_dump(rc, msg, want, wave64=wave64, partial=partial, emulated=emulated, 1300 ok, detail = judge_cs_dump(rc, msg, want, wave64=wave64, partial=partial, emulated=emulated,
1298 hexwords=name in ("cs_store", "cs_smem_soffset_imm", "cs_w32_lds_u8_d16", 1301 hexwords=name in ("cs_store", "cs_smem_soffset_imm", "cs_w32_lds_u8_d16",
1299 "cs_w32_lds_subdword", "cs_w32_lds_wide", 1302 "cs_w32_lds_subdword", "cs_w32_lds_wide",
1300 "cs_lds_b64_cmpst", "cs_signed_zero_nan")) 1303 "cs_lds_b64_cmpst", "cs_lds_atomics_ext", "cs_signed_zero_nan"))
1301 if ok and None in want: 1304 if ok and None in want:
1302 unjudged = ", ".join(str(i) for i, w in enumerate(want) if w is None) 1305 unjudged = ", ".join(str(i) for i, w in enumerate(want) if w is None)
1303 detail += f" (words {unjudged} not judged on this device: UNJUDGED_WORDS in check.py)" 1306 detail += f" (words {unjudged} not judged on this device: UNJUDGED_WORDS in check.py)"