InstCountParser: Allow the ability to skip instructions

This commit is contained in:
Ryan Houdek committed 2023-08-13 04:29:07 -07:00
1 parent a4647982cd
commit 1e2b5ecd5d
1 file changed
+4
+4
View File
@@ -92,6 +92,10 @@ def parse_json_data(json_data, output_binary_path):
if items["Optimal"].upper() == "YES":
Optimal = 1
if ("Skip" in items):
if items["Skip"].upper() == "YES":
continue
TestName = base64.b64encode(key.encode("ascii")).decode("ascii")
tmp_asm = "/tmp/{}.asm".format(TestName)
tmp_asm_out = "/tmp/{}.asm.o".format(TestName)