bitten by illumos not using optimized byteswap