Use the compiler for endian conversions

clang and gcc both define macros describing the endianess of the target
architecture and have builtin macros for byte swapping. The macros
expand in place and lets the compiler insert specialised assembly if it
so chooses.

Change-Id: I6060a0a7952f0863797db65d471f1d21c215b671
1 file changed
tree: f2cd9594a0bc9487c56f36619e373496183d800f
  1. inc/
  2. src/
  3. .gitignore
  4. Makefile
  5. README.md
README.md

Hafnium

mkdir hafnium
cd hafnium
repo init -u sso://hafnium/manifest
repo sync -j4