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

[AIE2P] Support more multislot pseudos #348

Merged
merged 3 commits into from
Feb 13, 2025

Conversation

andcarminati
Copy link
Collaborator

Support more multislot pseudos: VLD, PADD.2D/3D.

@@ -1189,7 +1190,7 @@ body: |
%5:edn(s20) = G_CONSTANT i20 5
%6:edc(s20) = G_CONSTANT i20 6
%7:edc(s20) = G_CONSTANT i20 7
%8:vregbank(<8 x s64>), %9:ptrregbank(p0), %10:modregbank(s20), %11:modregbank(s20) = G_AIE_POSTINC_3D_LOAD %0, %1, %2, %3, %4, %6, %5, %7 :: (load (<8 x s64>))
%8:vregbank(<32 x s32>), %9:ptrregbank(p0), %10:modregbank(s20), %11:modregbank(s20) = G_AIE_POSTINC_3D_LOAD %0, %1, %2, %3, %4, %6, %5, %7 :: (load (<32 x s32>))
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Note that this changes the type to the correct one.

Copy link
Collaborator

@martien-de-jong martien-de-jong left a comment

Choose a reason for hiding this comment

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

No comment. Looks good.

return {/*ISelOpcode=*/AIE2P::VLDA_3D_dmx_lda_x, NoImmediate,
/*OffsetOpcode=*/{AIE2P::VLDA_dmw_lda_w_idx_imm}};
return {/*ISelOpcode=*/AIE2P::VLD_3D_x_pseudo, NoImmediate,
/*OffsetOpcode=*/{AIE2P::VLD_x_idx_imm_pseudo}};
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks for fixing this !

return {/*ISelOpcode=*/AIE2P::VLDA_2D_dmx_lda_x, NoImmediate,
/*OffsetOpcode=*/{AIE2P::VLDA_dmw_lda_w_idx_imm}};
return {/*ISelOpcode=*/AIE2P::VLD_2D_x_pseudo, NoImmediate,
/*OffsetOpcode=*/{AIE2P::VLD_x_idx_imm_pseudo}};
Copy link
Collaborator

Choose a reason for hiding this comment

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

opcode is corrected now.

@andcarminati andcarminati merged commit 997f370 into aie-public Feb 13, 2025
9 checks passed
@andcarminati andcarminati deleted the andreu.more.multislot branch February 13, 2025 11:30
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