-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AIE2] G_BUILD_VECTOR legalization from generic IR for native vectors
This commit contains the code that turns the G_BUILD_VECTOR generic machine instruction into a sequence that can be passed to the later stages in the pipeline. It supports vectors of sizes 128, 256, 512 and 1024-bit for the 8, 16 and 32-bit integer sizes. Lower vectors are not supported since there are no subregisters of the correct size and 64-bit vectors are overloaded as accumulators. Legalization also includes separating the values into pushes, this preserves the current behaviour of selectG_BUILD_VECTOR that merges values. Introduces G_AIE_VECTOR_ELT_LEFT that is a generic instruction for adding values to the vector so that optimizes are done later in the stack.
- Loading branch information
1 parent
2db7b15
commit 5488ceb
Showing
4 changed files
with
530 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.