summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_disasm.c
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2017-09-21 13:52:28 -0700
committerMatt Turner <[email protected]>2017-10-04 14:08:54 -0700
commit6db5ec7debd283db0c4e9582f07340efa8e94f66 (patch)
treebb9d088cde545259c3a08d3aabde8b6889eab5ae /src/intel/compiler/brw_disasm.c
parent7e88f934697fd4ce05093c077b5f11454e377ed0 (diff)
i965: Fix support for disassembling 64-bit integer immediates
The type suffixes were wrong, and the 16 was missing the 0 prefix. Fixes: 92f787ff86ab ("i965: Add support for disassembling 64-bit integer immediates") Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_disasm.c')
-rw-r--r--src/intel/compiler/brw_disasm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/compiler/brw_disasm.c b/src/intel/compiler/brw_disasm.c
index e2675b5f4c9..2043d64b27a 100644
--- a/src/intel/compiler/brw_disasm.c
+++ b/src/intel/compiler/brw_disasm.c
@@ -1012,10 +1012,10 @@ imm(FILE *file, const struct gen_device_info *devinfo, enum brw_reg_type type,
{
switch (type) {
case BRW_REGISTER_TYPE_UQ:
- format(file, "0x%16lxUD", brw_inst_imm_uq(devinfo, inst));
+ format(file, "0x%016lxUQ", brw_inst_imm_uq(devinfo, inst));
break;
case BRW_REGISTER_TYPE_Q:
- format(file, "%ldD", brw_inst_imm_uq(devinfo, inst));
+ format(file, "%ldQ", brw_inst_imm_uq(devinfo, inst));
break;
case BRW_REGISTER_TYPE_UD:
format(file, "0x%08xUD", brw_inst_imm_ud(devinfo, inst));