forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LLVM][XTHeadVector] Implement intrinsics for vwadd/vwsub. (llvm#51)
* [LLVM][XTHeadVector] Define intrinsic function for vwadd/vwsub, etc. * [LLVM][XTHeadVector] Redefine MxList and AllWidenableVectors for xtheadvector. * [LLVM][XTHeadVector] Define pseudos for vwadd, etc. * [LLVM][XTHeadVector] Define TiedBinary Pseudos. This is in reference of https://reviews.llvm.org/D103211 and https://reviews.llvm.org/D103552. * [LLVM][XTHeadVector] Define patterns and map intrinsics to pseudos. The defination and usage of TiedBinary Pat reference https://reviews.llvm.org/D103211 and https://reviews.llvm.org/D103552 as well. * [LLVM][XTHeadVector] Update the convertToThreeAddress method, to convert xtheadvector pseudos. * [LLVM][XTHeadVector] Add test cases for vwadd{u}/vwsub{u}. * [LLVM][XTHeadVector] Add test cases for vwadd{u}.{wv/wx}/vwsub{u}.{wv/wx}. * [NFC][XTHeadVector] Update README.
- Loading branch information
1 parent
c633ed5
commit 213d415
Showing
12 changed files
with
15,525 additions
and
7 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.