[Mesa-dev] [PATCH v2] util/u_atomic: provide 64bit atomics where they're missing

Matt Turner mattst88 at gmail.com
Thu Mar 30 22:47:12 UTC 2017


On Thu, Mar 30, 2017 at 3:26 PM, Grazvydas Ignotas <notasas at gmail.com> wrote:
> There are still some distributions trying to support unfortunate people
> with old or exotic CPUs that don't have 64bit atomic operations. When
> compiling for such a machine, gcc conveniently inserts a library call to
> a helper, but it's implementation is missing and we get a linker error.
> This allows us to provide our own implementation, which is marked weak
> to prefer a better implementation, should one exist.
>
> v2: changed copyright, some style adjustments
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93089
> Signed-off-by: Grazvydas Ignotas <notasas at gmail.com>
> Reviewed-by: Matt Turner <mattst88 at gmail.com>

Thanks, I'll commit this.

> ---
>  no commit access, but request sent:
>  https://bugs.freedesktop.org/show_bug.cgi?id=100467

Thanks. I commented on the bug and said I approve :)


More information about the mesa-dev mailing list