freedreno/ir3: Fix the disasm of half-float STG dests.
authorEric Anholt <eric@anholt.net>
Thu, 23 Apr 2020 21:01:59 +0000 (14:01 -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 9d63add3d2a8a576cd0df2266322a39984291740..02335e46ab13dd200360435c59a4955457abe2c7 100644 (file)
@@ -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;