mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 14:40:10 +01:00
intel/compiler: Print message descriptor as immediate source
While disassembling send(c) instruction print message descriptor as immediate source operand along with message descriptor. This allows assembler to read immediate source operand and set bits accordingly. Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
This commit is contained in:
parent
d15fa24860
commit
416abe809a
1 changed files with 7 additions and 1 deletions
|
|
@ -1606,8 +1606,14 @@ brw_disassemble_inst(FILE *file, const struct gen_device_info *devinfo,
|
|||
/* show the indirect descriptor source */
|
||||
pad(file, 48);
|
||||
err |= src1(file, devinfo, inst);
|
||||
pad(file, 64);
|
||||
} else {
|
||||
pad(file, 48);
|
||||
}
|
||||
|
||||
/* Print message descriptor as immediate source */
|
||||
fprintf(file, "0x%08"PRIx64, inst->data[1] >> 32);
|
||||
|
||||
newline(file);
|
||||
pad(file, 16);
|
||||
space = 0;
|
||||
|
|
@ -1615,7 +1621,7 @@ brw_disassemble_inst(FILE *file, const struct gen_device_info *devinfo,
|
|||
fprintf(file, " ");
|
||||
err |= control(file, "SFID", devinfo->gen >= 6 ? gen6_sfid : gen4_sfid,
|
||||
sfid, &space);
|
||||
|
||||
string(file, " MsgDesc:");
|
||||
|
||||
if (brw_inst_src1_reg_file(devinfo, inst) != BRW_IMMEDIATE_VALUE) {
|
||||
format(file, " indirect");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue