Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve rotate then insert selected bits on Z
Add a case in genericLongShiftSingle that would generate a RISBG command for a LSHR->LAND pattern Add a similar case for LSHL->LAND pattern Add a similar case for the unsigned variants of the instruction(LUSHR and LUSHL) Rename tryToReplaceLongAndWithRotateInstruction() to tryToReplaceShiftLandWithRotateInstruction() Allocate target register properly in tryToReplaceShiftLandWithRotateInstruction() Add respective Tril test for these changes Remove LongAndRotateAsTest as those tests are now a strict subset of the added tests in ShiftAndRotateTest. Fixes #3212 Signed-off-by: Aidan Ha <qbha@edu.uwaterloo.ca>
- Loading branch information
Showing
3 changed files
with
161 additions
and
28 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