mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 11:40:10 +01:00
Revert "brw: add serialize send stats"
This reverts commit b8ae4ede60 now that
we have a cycle estimation accounting.
Reviewed-by: Alyssa Anne Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37816>
This commit is contained in:
parent
14683a045b
commit
c20e2733bf
2 changed files with 1 additions and 10 deletions
|
|
@ -750,7 +750,7 @@ brw_generator::generate_code(const brw_shader &s,
|
||||||
|
|
||||||
int start_offset = p->next_insn_offset;
|
int start_offset = p->next_insn_offset;
|
||||||
|
|
||||||
int loop_count = 0, send_count = 0, serialized_send_count = 0, nop_count = 0, sync_nop_count = 0;
|
int loop_count = 0, send_count = 0, nop_count = 0, sync_nop_count = 0;
|
||||||
bool is_accum_used = false;
|
bool is_accum_used = false;
|
||||||
|
|
||||||
struct disasm_info *disasm_info = disasm_initialize(p->isa, s.cfg);
|
struct disasm_info *disasm_info = disasm_initialize(p->isa, s.cfg);
|
||||||
|
|
@ -1161,12 +1161,9 @@ brw_generator::generate_code(const brw_shader &s,
|
||||||
generate_send(inst->as_send(), dst, src[SEND_SRC_DESC], src[SEND_SRC_EX_DESC],
|
generate_send(inst->as_send(), dst, src[SEND_SRC_DESC], src[SEND_SRC_EX_DESC],
|
||||||
src[SEND_SRC_PAYLOAD1], src[SEND_SRC_PAYLOAD2]);
|
src[SEND_SRC_PAYLOAD1], src[SEND_SRC_PAYLOAD2]);
|
||||||
send_count++;
|
send_count++;
|
||||||
if (inst->as_send()->fused_eu_disable)
|
|
||||||
serialized_send_count++;
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SHADER_OPCODE_SEND_GATHER:
|
case SHADER_OPCODE_SEND_GATHER:
|
||||||
assert(!inst->as_send()->fused_eu_disable);
|
|
||||||
generate_send(inst->as_send(), dst,
|
generate_send(inst->as_send(), dst,
|
||||||
src[SEND_GATHER_SRC_DESC], src[SEND_GATHER_SRC_EX_DESC],
|
src[SEND_GATHER_SRC_DESC], src[SEND_GATHER_SRC_EX_DESC],
|
||||||
src[SEND_GATHER_SRC_SCALAR], brw_null_reg());
|
src[SEND_GATHER_SRC_SCALAR], brw_null_reg());
|
||||||
|
|
@ -1560,7 +1557,6 @@ brw_generator::generate_code(const brw_shader &s,
|
||||||
stats->max_polygons = s.max_polygons;
|
stats->max_polygons = s.max_polygons;
|
||||||
stats->instrs = before_size / 16 - nop_count - sync_nop_count;
|
stats->instrs = before_size / 16 - nop_count - sync_nop_count;
|
||||||
stats->send_messages = send_count;
|
stats->send_messages = send_count;
|
||||||
stats->serialized_send_messages = serialized_send_count;
|
|
||||||
stats->loop_count = loop_count;
|
stats->loop_count = loop_count;
|
||||||
stats->cycle_count = perf.latency;
|
stats->cycle_count = perf.latency;
|
||||||
stats->spill_count = shader_stats.spill_count;
|
stats->spill_count = shader_stats.spill_count;
|
||||||
|
|
|
||||||
|
|
@ -133,11 +133,6 @@
|
||||||
Number of instructions in the final generated shader executable
|
Number of instructions in the final generated shader executable
|
||||||
which access external units such as the constant cache or the sampler.
|
which access external units such as the constant cache or the sampler.
|
||||||
</stat>
|
</stat>
|
||||||
<stat name="Serialized SEND Count" display="Serialized send messages">
|
|
||||||
Number of instructions in the final generated shader
|
|
||||||
executable which access external units such as the
|
|
||||||
constant cache or the sampler in a serialized way.
|
|
||||||
</stat>
|
|
||||||
<stat name="Loop Count" display="Loop count">
|
<stat name="Loop Count" display="Loop count">
|
||||||
Number of loops (not unrolled) in the final generated shader
|
Number of loops (not unrolled) in the final generated shader
|
||||||
executable.
|
executable.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue