Old implementation was overly verbose. We can just rely on gcc builtins as we can't actually build on anything else anyway.