pan/mdg: Use "<<" instead of "lsl"
Easier to read and consistent with C code. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16798>
This commit is contained in:
parent
8c11f4809b
commit
c9093554d0
|
@ -1440,7 +1440,7 @@ print_load_store_instr(disassemble_context *ctx, FILE *fp, uint64_t data, bool v
|
||||||
print_ldst_read_reg(fp, word->index_reg);
|
print_ldst_read_reg(fp, word->index_reg);
|
||||||
fprintf(fp, ".%c", components[word->index_comp]);
|
fprintf(fp, ".%c", components[word->index_comp]);
|
||||||
if (word->index_shift)
|
if (word->index_shift)
|
||||||
fprintf(fp, " lsl %u", word->index_shift);
|
fprintf(fp, " << %u", word->index_shift);
|
||||||
midgard_print_sint(fp, UNPACK_LDST_UBO_OFS(word->signed_offset));
|
midgard_print_sint(fp, UNPACK_LDST_UBO_OFS(word->signed_offset));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1468,7 +1468,7 @@ print_load_store_instr(disassemble_context *ctx, FILE *fp, uint64_t data, bool v
|
||||||
index_format_names[word->index_format],
|
index_format_names[word->index_format],
|
||||||
components[word->index_comp]);
|
components[word->index_comp]);
|
||||||
if (word->index_shift)
|
if (word->index_shift)
|
||||||
fprintf(fp, " lsl %u", word->index_shift);
|
fprintf(fp, " << %u", word->index_shift);
|
||||||
}
|
}
|
||||||
|
|
||||||
midgard_print_sint(fp, word->signed_offset);
|
midgard_print_sint(fp, word->signed_offset);
|
||||||
|
@ -1505,7 +1505,7 @@ print_load_store_instr(disassemble_context *ctx, FILE *fp, uint64_t data, bool v
|
||||||
print_ldst_read_reg(fp, word->index_reg);
|
print_ldst_read_reg(fp, word->index_reg);
|
||||||
fprintf(fp, ".%c", components[word->index_comp]);
|
fprintf(fp, ".%c", components[word->index_comp]);
|
||||||
if (word->index_shift)
|
if (word->index_shift)
|
||||||
fprintf(fp, " lsl %u", word->index_shift);
|
fprintf(fp, " << %u", word->index_shift);
|
||||||
midgard_print_sint(fp, UNPACK_LDST_ATTRIB_OFS(word->signed_offset));
|
midgard_print_sint(fp, UNPACK_LDST_ATTRIB_OFS(word->signed_offset));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue