Performance: reducing the percentage of FFMA interleaving yields a slight performance gain, roughly 0.5%

This commit is contained in:
sazc 2025-03-05 17:50:22 +08:00
parent 68fc742572
commit fcd1dcd99d

View File

@ -73,7 +73,7 @@ def parse_registers(line):
def modify_segment(m, name, ffma_lines):
num_lines = len(ffma_lines)
num_lines = (len(ffma_lines) * 9 // 16) // 2 * 2
assert num_lines % 2 == 0
le_bytes, new_le_bytes = [], []