Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 104: rewrite and extend Insert/Extract subprograms #894

Merged
merged 3 commits into from
Jan 12, 2022
Merged

Conversation

kanigsson
Copy link
Collaborator

The subprograms to insert and extract bits from the buffer are
extended to little-endian versions.
The existing big-endian versions are rewritten for consistency.

The subprograms to insert and extract bits from the buffer are
extended to little-endian versions.
The existing big-endian versions are rewritten for consistency.
@kanigsson kanigsson requested a review from treiher January 6, 2022 08:03
@treiher treiher added this to Review in RecordFlux 0.6 via automation Jan 6, 2022
tests/spark/test.gpr Outdated Show resolved Hide resolved
rflx/templates/rflx_generic_types.adb Outdated Show resolved Hide resolved
rflx/templates/rflx_arithmetic.ads Outdated Show resolved Hide resolved
rflx/templates/rflx_generic_types.adb Outdated Show resolved Hide resolved
rflx/templates/rflx_arithmetic.ads Outdated Show resolved Hide resolved
rflx/templates/rflx_generic_types.adb Show resolved Hide resolved
@kanigsson kanigsson mentioned this pull request Jan 10, 2022
5 tasks
- remove useless preconditions
- remove useless mod operation
- rename Has_Bits/Has_Bits_Upper into Fits_Into/Fits_Into_Upper
- move Shift_Left/Shift_Right functions into private part
@kanigsson kanigsson merged commit 5e0cde5 into main Jan 12, 2022
@kanigsson kanigsson deleted the issue_104 branch January 12, 2022 12:19
RecordFlux 0.6 automation moved this from Review to Done Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants