Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
hdl.ast: avoid unnecessary sign padding in ArrayProxy.
Before this commit, ArrayProxy would add sign padding (an extra bit) a homogeneous array of signed values, or an array where all unsigned values are smaller than the largest signed one. After this commit, ArrayProxy would only add padding in arrays with mixed signedness where all signed values are smaller or equal in size to the largest unsigned value. Fixes #476. Co-authored-by: Pepijn de Vos <pepijndevos@gmail.com>
- Loading branch information
1 parent
cb81618
commit 00026c6
Showing
2 changed files
with
43 additions
and
5 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 comment does not match the test below, which is identical to the test above.