bugfix in store throughput calculation

This commit is contained in:
JanLJL
2022-09-28 14:21:46 +02:00
parent 1ea1e68b4e
commit 7c907e2432
2 changed files with 2 additions and 3 deletions

View File

@@ -22,8 +22,7 @@ load_throughput:
- {base: ~, index: ~, offset: imd, scale: 1, port_pressure: [[1, '23'], [1, ['2D', '3D']]]}
- {base: ~, index: ~, offset: imd, scale: 8, port_pressure: [[1, '23'], [1, ['2D', '3D']]]}
load_throughput_default: [[1, '23'], [1, ['2D', '3D']]]
store_throughput:
- {src: ymm, base: "*", index: "*", offset: "*", scale: "*", port_pressure: [[1, '23'], [1, ['7', '9', '8']]]}
store_throughput: []
store_throughput_default: [[1, '79'], [1, '48']]
ports: ['0', 0DV, '1', 1DV, '2', 2D, '3', 3D, '4', '5', '6', '7', '8', '9']
port_model_scheme: |

View File

@@ -288,7 +288,7 @@ class ArchSemantics(ISASemantics):
dummy_reg, {"register": {"name": stp["src"]}}
)
]
if len(data_port_uops) < 1:
if len(st_data_port_uops) < 1:
st_data_port_uops = store_perf_data[0]["port_pressure"]
else:
st_data_port_uops = st_data_port_uops[0]