-
Notifications
You must be signed in to change notification settings - Fork 13
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
[AIEX] NFC: Refactor Alternate Descriptor codebase #193
Conversation
51fe0dd
to
9f8a55f
Compare
9f8a55f
to
62192aa
Compare
I'm starting to wonder how far we should go with adding more layers in the schedule. I'd say we need to go even further. Our interfaces to the HazardRecognizer are becoming painful to work with. I'd like group together what is really needed to make a correct scheduling decision. I'd say at this point we need something like:
Then we could just pass that dynamic descriptor to the checkHazard/enterResources methods of the HazardRecognizer. Within the scheduler, we could easily retrieve that dynamic descriptor by doing something like I don't think we should do that change just now, and I can also work on this, but I'd like to start the discussion. What do you think @martien-de-jong @krishnamtibrewala @andcarminati ? |
62192aa
to
f711ff2
Compare
That looks good. I would then also like a constructor for this that takes a MachineInstr. I can also imagine that we grab the static part of this and let tablegen generate it. |
Fair enough 😆 I thought of dynamic as in "the scheduling descriptor is determined based on the selected opcode, and operands". Those things can change throughout the compilation process. Maybe you can think of a better qualifier than "dynamic"? Maybe "FullyQualifiedDescr"? |
I guess that MemoryBanks is dynamic |
1eddb47
to
44e273f
Compare
efffa0b
to
0b41f3d
Compare
0b41f3d
to
32cafc3
Compare
I agree that HR is handling several different interfaces now and this redesign will help to concentrate all the information that is related to one specific instruction. We can put this on our backlog for sure. |
32cafc3
to
fd3c585
Compare
fd3c585
to
8b9fed6
Compare
8b9fed6
to
01122ae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.