From db8d467ec64c85c4efd99577af93328b9a5a3495 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sun, 3 Nov 2024 17:23:53 -0500 Subject: [PATCH] agx: model IC dispatch Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/compiler/agx_performance.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/asahi/compiler/agx_performance.c b/src/asahi/compiler/agx_performance.c index 20cc0f3aab3..2851fe44c34 100644 --- a/src/asahi/compiler/agx_performance.c +++ b/src/asahi/compiler/agx_performance.c @@ -126,6 +126,11 @@ agx_estimate_cycles(agx_context *ctx) if (alu.unit == IC) { est.ic += alu.tp * 2; + + /* In addition to the IC work, IC ops appear to be dispatched along + * with SCIB. + */ + est.f_scib += 1; } else if (alu.unit) { est.f_scib += alu.tp; } else {