Mesa (master): freedreno/ir3: Fix the disasm of half-float STG dests.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Apr 27 19:55:15 UTC 2020
Module: Mesa
Branch: master
Commit: 916629f9d70d479aa1829e631792bf9ddd61004c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=916629f9d70d479aa1829e631792bf9ddd61004c
Author: Eric Anholt <eric at anholt.net>
Date: Thu Apr 23 14:01:59 2020 -0700
freedreno/ir3: Fix the disasm of half-float STG dests.
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 9d63add3d2a..02335e46ab1 100644
--- a/src/freedreno/ir3/disasm-a3xx.c
+++ b/src/freedreno/ir3/disasm-a3xx.c
@@ -618,7 +618,7 @@ static void print_instr_cat6_a3xx(struct disasm_ctx *ctx, instr_t *instr)
case OPC_STP:
case OPC_STLW:
case OPC_STIB:
- dst.full = true;
+ dst.full = type_size(cat6->type) == 32;
src1.full = type_size(cat6->type) == 32;
src2.full = type_size(cat6->type) == 32;
break;
More information about the mesa-commit
mailing list