mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-10-23 04:46:29 +00:00
800f2bec5f
The Le16/Le32/Le64 <-> u16/u32/u64 conversions should be no-ops on little endian platforms, and even the big-endian conversions can be efficiently implemented with a single byte-swap or MOVBE instruction in most cases, so it should almost always be beneficial to inline the conversion functions. BUG=None TEST=cargo build --release; view SplitQueue::add_used assembly Change-Id: Ia028670e99f93754e729b3ff1fbdae2bcef74917 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4679848 Reviewed-by: Zihan Chen <zihanchen@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE |