-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit changes code sequence used to load 64bit constants. It first loads high 32bit value into target registers' low 32bits and then use a sequence of slli + addi instructions to load lower 32 bits. The advantage of this approach is that this sequence uses only one (target) registers whereas the previous one required additional scratch register.
- Loading branch information
Showing
1 changed file
with
67 additions
and
11 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