Skip to content

[Draft][wip]Mimic vector composition hierarchy for accumulators. #433

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

Draft
wants to merge 4 commits into
base: aie-public
Choose a base branch
from

Conversation

niwinanto
Copy link
Collaborator

No description provided.

@niwinanto niwinanto marked this pull request as draft April 9, 2025 13:54
@niwinanto niwinanto changed the title [Draft][wip]Niwin.lanemask.regbank [Draft][wip]Mimic vector composition hierarchy for accumulators. Apr 9, 2025
def mCMs : AIE2PAcc1024RegisterClass<(add mCMm)>;
} // let SubRegIndices = [sub_512_lo, sub_512_hi], CoveredBySubRegs = 1

def eCML : AIE2PVector1024RegisterClass<(add cml0, cml1, cml2, cml3, cml4)>;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious, was this change also needed or just the dummy registers were enough?

@niwinanto niwinanto force-pushed the niwin.lanemask.regbank branch from 0fb8751 to 0575190 Compare April 10, 2025 12:09
@andcarminati
Copy link
Collaborator

Maybe a description of the idea would be nice to help us to help.

@@ -33,8 +33,8 @@ def sub_512_hi : SubRegIndex<512, 512>;
def sub_512_acc_lo : SubRegIndex<512, 0>;
def sub_512_acc_hi : SubRegIndex<512, 512>;

def sub_1024_acc_lo : SubRegIndex<1024, 0>;
def sub_1024_acc_hi : SubRegIndex<1024, 1024>;
def sub_1024_lo : SubRegIndex<1024, 0>;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this will lead to another problem. I heard once that we cannot reuse this for different register classes, maybe is related to the same problem that we have.

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