mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-18 21:36:27 +00:00
assembler: Fix the decoding of the destination horizontal stride
dest_horizontal_stride needs go through the horiz_stride[] indirection to pick up the rigth stride when its value is 11b (4 elements). Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
parent
d9afa5bfea
commit
92262e1ff8
@ -522,7 +522,7 @@ static int dest (FILE *file, struct brw_instruction *inst)
|
||||
if (inst->bits1.da1.dest_subreg_nr)
|
||||
format (file, ".%d", inst->bits1.da1.dest_subreg_nr /
|
||||
reg_type_size[inst->bits1.da1.dest_reg_type]);
|
||||
format (file, "<%d>", inst->bits1.da1.dest_horiz_stride);
|
||||
format (file, "<%s>", horiz_stride[inst->bits1.da1.dest_horiz_stride]);
|
||||
err |= control (file, "dest reg encoding", reg_encoding, inst->bits1.da1.dest_reg_type, NULL);
|
||||
}
|
||||
else
|
||||
@ -534,7 +534,7 @@ static int dest (FILE *file, struct brw_instruction *inst)
|
||||
if (inst->bits1.ia1.dest_indirect_offset)
|
||||
format (file, " %d", inst->bits1.ia1.dest_indirect_offset);
|
||||
string (file, "]");
|
||||
format (file, "<%d>", inst->bits1.ia1.dest_horiz_stride);
|
||||
format (file, "<%s>", horiz_stride[inst->bits1.ia1.dest_horiz_stride]);
|
||||
err |= control (file, "dest reg encoding", reg_encoding, inst->bits1.ia1.dest_reg_type, NULL);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user