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

nanomips: Add scheduling model for i7200 processor #24

Open
wants to merge 2 commits into
base: nanomips
Choose a base branch
from

Conversation

vvuksanovic
Copy link

This PR adds a scheduling model for the i7200 processor based on this implementation in GCC:
https://github.com/MediaTek-Labs/gcc/blob/mips/umips/gcc6_v12/gcc/config/mips/i7200.md

The new model replaces the generic one when -mcpu=i7200 is set.

@djtodoro
Copy link
Collaborator

djtodoro commented Aug 4, 2023

@nikolaperic CC.

The model is based on the GCC machine description for i7200 and replaces
the generic model when -mcpu=i7200.
@vvuksanovic
Copy link
Author

To use this model the machine scheduler has to be enabled. This can be done by passing the -mllvm -enable-misched flag which will run the pre-RA scheduler. Optionally, to also run the post-RA machine scheduler -mllvm -misched-postra should be set as well.

@vvuksanovic vvuksanovic marked this pull request as ready for review March 5, 2024 13:58
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.

3 participants