add initial support for hardware accelerated byte swapping