aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2020-04-24 10:23:20 -0700
committerMarge Bot <[email protected]>2020-04-27 19:35:00 +0000
commit90984ba853297993221027c49ce31959c1634790 (patch)
treeb4c93a04ad2bcf5aee8f12ab932145efc6f89bfe
parent916629f9d70d479aa1829e631792bf9ddd61004c (diff)
freedreno/ir3: Print a space after nop counts, like qcom's disasm.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4736>
-rw-r--r--src/freedreno/ir3/disasm-a3xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freedreno/ir3/disasm-a3xx.c b/src/freedreno/ir3/disasm-a3xx.c
index 02335e46ab1..2648fa1fa86 100644
--- a/src/freedreno/ir3/disasm-a3xx.c
+++ b/src/freedreno/ir3/disasm-a3xx.c
@@ -1250,7 +1250,7 @@ static bool print_instr(struct disasm_ctx *ctx, uint32_t *dwords, int n)
nop = (instr->cat3.src2_r * 2) + instr->cat3.src1_r;
ctx->instructions += nop;
if (nop)
- fprintf(ctx->out, "(nop%d)", nop);
+ fprintf(ctx->out, "(nop%d) ", nop);
if (instr->ul && ((2 <= instr->opc_cat) && (instr->opc_cat <= 4)))
fprintf(ctx->out, "(ul)");