diff --git a/Scripts/InstructionCountParser.py b/Scripts/InstructionCountParser.py index 335a7f582..b84905cfd 100755 --- a/Scripts/InstructionCountParser.py +++ b/Scripts/InstructionCountParser.py @@ -140,7 +140,7 @@ def parse_json_data(json_data, output_binary_path): # TestInfo Tests[NumTests]; # }; # struct TestInfo { - # char InstName[32]; + # char InstName[128]; # uint64_t Optimal; # int64_t ExpectedInstructionCount; # uint64_t CodeSize; @@ -157,7 +157,7 @@ def parse_json_data(json_data, output_binary_path): # Add each test for key, item in TestDataMap.items(): - MemData += struct.pack('32s', item.Name.encode("ascii")) + MemData += struct.pack('128s', item.Name.encode("ascii")) MemData += struct.pack('Q', item.Optimal) MemData += struct.pack('q', item.ExpectedInstructionCount) MemData += struct.pack('Q', len(item.Code)) diff --git a/Source/Tools/CodeSizeValidation/Main.cpp b/Source/Tools/CodeSizeValidation/Main.cpp index 9d1c56d55..5422cf904 100644 --- a/Source/Tools/CodeSizeValidation/Main.cpp +++ b/Source/Tools/CodeSizeValidation/Main.cpp @@ -236,7 +236,7 @@ void AssertHandler(char const *Message) { } struct TestInfo { - char TestInst[32]; + char TestInst[128]; uint64_t Optimal; int64_t ExpectedInstructionCount; uint64_t CodeSize;