mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-03-05 13:08:23 +00:00
Increase maximum instruction name to 128-bytes
Some long name instructions are going beyond 32-bytes. Obviously not hurting to encode a few additional bytes.
This commit is contained in:
parent
ef3887ca4f
commit
cbfea75037
@ -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))
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user