You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The requirement to keep micro-ops dense while optimizing is harmful. #111646
The tier 2 executor creation requires optimization passes to compact the micro-ops, which is onerous and error-prone.
We should make it part of the job of creating the executor to compact the micro-ops.
We will want to modify the tier 2 instruction format, so we will need to do this anyway at some point.
Can you elaborate on what you mean by "compact the microops"? Is this removing unnecessary microops and (perhaps) realloc'ing a smaller buffer and copying there?
changed the title [-]The requirement to keep micro-ops dense while optimization is harmful.[/-][+]The requirement to keep micro-ops dense while optimizing is harmful.[/+]on Nov 2, 2023
Activity
mdboom commentedon Nov 2, 2023
Can you elaborate on what you mean by "compact the microops"? Is this removing unnecessary microops and (perhaps) realloc'ing a smaller buffer and copying there?
[-]The requirement to keep micro-ops dense while optimization is harmful.[/-][+]The requirement to keep micro-ops dense while optimizing is harmful.[/+]markshannon commentedon Nov 2, 2023
Packing them together instead of leaving gaps.
So
must be compacted to:
during optimization, rather than doing it once when creating the executor.
mdboom commentedon Nov 2, 2023
Thanks, that makes sense.
GH-111646: Simplify optimizer, by compacting uops when making executo…
pythonGH-111646: Simplify optimizer, by compacting uops when making e…
pythonGH-111646: Simplify optimizer, by compacting uops when making e…
pythonGH-111646: Simplify optimizer, by compacting uops when making e…