mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-16 07:38:14 +02:00
ir3: allow (ss) on all cat7 instructions
They all support it, not just alias. Totals from 1034 (0.59% of 176266) affected shaders: Instrs: 1191237 -> 1187463 (-0.32%); split: -0.32%, +0.00% CodeSize: 1967434 -> 1957658 (-0.50%) NOPs: 357507 -> 353733 (-1.06%); split: -1.07%, +0.01% (ss)-stall: 162617 -> 162616 (-0.00%) (sy)-stall: 701381 -> 701897 (+0.07%); split: -0.00%, +0.07% Cat0: 391915 -> 388141 (-0.96%); split: -0.98%, +0.01% Signed-off-by: Job Noorman <jnoorman@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41536>
This commit is contained in:
parent
46607282f1
commit
d1ab6937bc
1 changed files with 1 additions and 1 deletions
|
|
@ -2140,7 +2140,7 @@ needs_ss(const struct ir3_compiler *compiler, struct ir3_instruction *producer,
|
|||
static inline bool
|
||||
supports_ss(struct ir3_instruction *instr)
|
||||
{
|
||||
return opc_cat(instr->opc) < 5 || instr->opc == OPC_ALIAS;
|
||||
return opc_cat(instr->opc) < 5 || opc_cat(instr->opc) == 7;
|
||||
}
|
||||
|
||||
/* The soft delay for approximating the cost of (ss). */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue