-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify Power integral narrowing conversion evaluators
The Power codegen's evaluators for performing integral narrowing conversions (e.g. i2s) have been significantly simplified to remove unneeded handling. Previously, some of these evaluators would perform sign- and zero- extension, which seems to be a remnant of a time when the upper bits of sub-integer values in registers were not considered to be undefined. Signed-off-by: Ben Thomas <ben@benthomas.ca>
- Loading branch information
1 parent
b1024d0
commit 2076fd4
Showing
2 changed files
with
28 additions
and
186 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