summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_disasm.c
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2017-07-25 14:25:27 -0700
committerMatt Turner <[email protected]>2017-08-21 14:05:23 -0700
commit92f787ff86abc588939878f43fa898bc2b069342 (patch)
tree2dafe21fa5b2f14128fd614942007e5b82efd16b /src/intel/compiler/brw_disasm.c
parentdeae25ce3783a770f2e4e8f73f935656791121ae (diff)
i965: Add support for disassembling 64-bit integer immediates
After the last patch converted things into enums, I helpfully got a compiler warning about these missing from the switch statement. Reviewed-by: Scott D Phillips <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_disasm.c')
-rw-r--r--src/intel/compiler/brw_disasm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_disasm.c b/src/intel/compiler/brw_disasm.c
index b5c283058ab..6da70605174 100644
--- a/src/intel/compiler/brw_disasm.c
+++ b/src/intel/compiler/brw_disasm.c
@@ -1029,6 +1029,12 @@ imm(FILE *file, const struct gen_device_info *devinfo, enum hw_imm_type type,
const brw_inst *inst)
{
switch (type) {
+ case GEN8_HW_IMM_TYPE_UQ:
+ format(file, "0x%16lxUD", brw_inst_imm_uq(devinfo, inst));
+ break;
+ case GEN8_HW_IMM_TYPE_Q:
+ format(file, "%ldD", brw_inst_imm_uq(devinfo, inst));
+ break;
case BRW_HW_IMM_TYPE_UD:
format(file, "0x%08xUD", brw_inst_imm_ud(devinfo, inst));
break;