-
Notifications
You must be signed in to change notification settings - Fork 502
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Adding a version of unaligned copy for little-endian platforms that provides a single abstraction for vectorized unaligned copy. This replaces the v0 BitStream + unalignedCopy abstractions making a v1 "bit stream" into simply an std::vector and a std::size_t bit_offset. The abstraction allows the vector's word size to be parameterized which could provide better optimizations where a given architecture can perform single operations across multiple bytes instead of hard-coding all 8-bit operations. The usefulness versus complexity of this optimization will play out in subsequent pull-requests as we start utilizing this copy operation in the generated dsdl types. Progress on #235, adding unaligned copy Version 2 of this utility. This one is endian agnostic (I think).
- Loading branch information
1 parent
989c947
commit 1e0d947
Showing
6 changed files
with
458 additions
and
2 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
Oops, something went wrong.