mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
intel/disasm: Print half-float values instead of placeholder
Signed-off-by: Sviatoslav Peleshko <sviatoslav.peleshko@globallogic.com> Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25657>
This commit is contained in:
parent
4f41c44df2
commit
a129e136de
1 changed files with 5 additions and 1 deletions
|
|
@ -1672,7 +1672,11 @@ imm(FILE *file, const struct brw_isa_info *isa, enum brw_reg_type type,
|
|||
format(file, "/* %-gDF */", brw_inst_imm_df(devinfo, inst));
|
||||
break;
|
||||
case BRW_REGISTER_TYPE_HF:
|
||||
string(file, "Half Float IMM");
|
||||
format(file, "0x%04xHF",
|
||||
(uint16_t) brw_inst_imm_ud(devinfo, inst));
|
||||
pad(file, 48);
|
||||
format(file, "/* %-gHF */",
|
||||
_mesa_half_to_float((uint16_t) brw_inst_imm_ud(devinfo, inst)));
|
||||
break;
|
||||
case BRW_REGISTER_TYPE_NF:
|
||||
case BRW_REGISTER_TYPE_UB:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue