Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various minor improvements and compatibility enhancements #45

Merged
merged 15 commits into from
Apr 1, 2024

Conversation

hanno-becker
Copy link
Collaborator

  • Add some missing instructions
  • Improve compatibility with LLVM MCA
  • Report cycles, IPC (estimated for solution)
  • Report cycles, IPS (estimated for bound)
  • Report wall time of optimization
  • Allow late->late and early->early dependencies in loops

@hanno-becker hanno-becker force-pushed the late_late_experiment branch from 48a3ed2 to 213e185 Compare March 31, 2024 06:21
With `config.visualize_expected_performance` set, a nice graph with legend
would be shown, but not so if `visualize_expected_performance == False`.

This commit largely copy-pastes the visualization code from
`visualize_expected_performance` to the other visualization
functions, so that a legend is printed in any case.

Ultimately, this should be cleaned up a bit and a helper function
introduced for the pretty printing of a performance/reordering graph.
The previous identifier is too strict e.g. for paths.
By specifying `-c llvm_mca_full`, all available statistics will now
be printed. By default, only a subset is shown.

By specifying, -c llvm_mca_issue_width_overwrite`, use the issue
width of the SLOTHY model instead of LLVM MCA's one.
The solver provides us with a lower/upper bound for the objective
it is minimizing/maximizing.

In the case where we minimize the number of cycles, print the
objective bound in the emitted assembly, so it's clear if the
code is optimal according to the model, or can perhaps be improved
by running SLOTHY with larger timeout.
@hanno-becker hanno-becker force-pushed the late_late_experiment branch from 213e185 to 38d5db8 Compare April 1, 2024 03:08
@hanno-becker hanno-becker merged commit 794d5a6 into main Apr 1, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant