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] Update AIE2PGenInstrInfo.td #266

Open
wants to merge 2 commits into
base: aie-public
Choose a base branch
from

Conversation

mludevid
Copy link
Collaborator

This PR updates the instruction definition of all instructions that use the loading fifo register. I also updated the respective decoder methods, the itinerary definitions, the binary output tests and any other test using these instructions. I had to disable some run lines in the binary output tests, because the assembly parser isn't working yet. We should be able to reenable them once @andcarminati merges the new subregister definitions for all of these instructions. For now I commented the old subregister definitions out, since we cannot define the new ones until the data structure changes to subregisters get merged.
I also used the opportunity to remove some old redundant test files.

# TODO: llc %llcflags --filetype=asm -o %t2
# TODO: llvm-mc -triple aie2p -filetype=obj -o %t %t2
# TODO: llvm-objdump --triple=aie2p -dr --no-print-imm-hex %t | FileCheck %s
# Change TODOs to RUN once tied registers are implemented for POP and FILL instructions
Copy link
Collaborator

Choose a reason for hiding this comment

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

As discussed offline, these encoding tests don't pass because we are missing some AsmParser support not because of the tied register implementation from @andcarminati. So I would keep them split as before so that we still have regression tests for the instruction that are actually supported.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done. I split up the tests again, kept the RUN lines in the vlda and vldb test files and removed the comment.

@mludevid mludevid force-pushed the mludevid.update.generated.files branch from c38e8fa to 6afb6d9 Compare January 15, 2025 14:19
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.

2 participants