Mesa (master): freedreno/ir3: Print a space after nop counts, like qcom's disasm.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Apr 27 19:55:15 UTC 2020
Module: Mesa
Branch: master
Commit: 90984ba853297993221027c49ce31959c1634790
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=90984ba853297993221027c49ce31959c1634790
Author: Eric Anholt <eric at anholt.net>
Date: Fri Apr 24 10:23:20 2020 -0700
freedreno/ir3: Print a space after nop counts, like qcom's disasm.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4736>
---
src/freedreno/ir3/disasm-a3xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)");
More information about the mesa-commit
mailing list