diff options
author | Rob Clark <[email protected]> | 2015-03-18 19:26:13 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2015-04-05 12:44:01 -0400 |
commit | 203f37540a698a812f0a66e2f3f1fff954af22ab (patch) | |
tree | 1b0fa8dce4e887ddbb1f85cb15b1efa731154a56 /src/gallium/drivers/freedreno/ir3/disasm-a3xx.c | |
parent | b1c9fb9fcaf34923f69d671fdba0a35ea581b3a0 (diff) |
freedreno/ir3: add ir3 builder helpers
Add helpers for constructing SSA forms of instructions.
Only partial cat5/cat6 coverage.. but we can add stuff as needed.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3/disasm-a3xx.c')
-rw-r--r-- | src/gallium/drivers/freedreno/ir3/disasm-a3xx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/disasm-a3xx.c b/src/gallium/drivers/freedreno/ir3/disasm-a3xx.c index bed9aca795f..22e0dc2044c 100644 --- a/src/gallium/drivers/freedreno/ir3/disasm-a3xx.c +++ b/src/gallium/drivers/freedreno/ir3/disasm-a3xx.c @@ -180,6 +180,8 @@ static void print_instr_cat1(instr_t *instr) if (cat1->src_im) { if (type_float(cat1->src_type)) printf("(%f)", cat1->fim_val); + else if (type_uint(cat1->src_type)) + printf("0x%08x", cat1->uim_val); else printf("%d", cat1->iim_val); } else if (cat1->src_rel && !cat1->src_c) { |