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 vadd/vsub/vrsub. (llvm#48)
* [LLVM][XTHeadVector] Define intrinsic function for vadd, vsub and vrsub. * [LLVM][XTHeadVector] Define pats and pseudos for vadd, vrsub and vsub. * [LLVM][XTHeadVector] Use th.vlse when the xtheadvector extension is enabled. * [LLVM][XTHeadVector] Match vrsub with 2 vector operands to th.vsub.vv * [LLVM][XTHeadVector] Match th.vsub with a small immediate to th.vadd.vi * [LLVM][XTHeadVector] Add test cases. * [NFC] Update README.
- Loading branch information
1 parent
06e6780
commit ca532a5
Showing
7 changed files
with
8,937 additions
and
19 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
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.