freedreno/ir3: Print a space after nop counts, like qcom's disasm.
authorEric Anholt <eric@anholt.net>
Fri, 24 Apr 2020 17:23:20 +0000 (10:23 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 27 Apr 2020 19:35:00 +0000 (19:35 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4736>

src/freedreno/ir3/disasm-a3xx.c

index 02335e46ab13dd200360435c59a4955457abe2c7..2648fa1fa8681336af9b8244a4536dd7ab3097e6 100644 (file)
@@ -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)");