Use GCC intrinsics if available