-
Notifications
You must be signed in to change notification settings - Fork 14
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
Conversation
@@ -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>)) |
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.
Note that this changes the type to the correct one.
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.
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}}; |
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.
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}}; |
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.
opcode is corrected now.
Support more multislot pseudos: VLD, PADD.2D/3D.